E
et
How do I programmtically get the relationships of a table??
I can get the list of columns:
dtFields = conn.GetOleDbSchemaTable(OleDbSchemaGuid., New Object() {Nothing,
Nothing, strTableName, Nothing"})
, but when I change it to Foreign_Keys, no data is returned.
dtFields = conn.GetOleDbSchemaTable(OleDbSchemaGuid.Foreign_Keys, New
Object() {Nothing, Nothing, strTableName, Nothing})
I can get the list of columns:
dtFields = conn.GetOleDbSchemaTable(OleDbSchemaGuid., New Object() {Nothing,
Nothing, strTableName, Nothing"})
, but when I change it to Foreign_Keys, no data is returned.
dtFields = conn.GetOleDbSchemaTable(OleDbSchemaGuid.Foreign_Keys, New
Object() {Nothing, Nothing, strTableName, Nothing})