table metadatA_?

  • Thread starter Thread starter Emre DÝNÇER
  • Start date Start date
E

Emre DÝNÇER

Is there a possibility for me to retrieve table metadata so that i can catch
a column of a table is foreign key at runtime?

best regards
emre dincer
 
Hi,

DataTable has methods/properties that give you that info. Take a look at
the DataRelation class and to DataTable.ChildRelations and
DataTAble.ParentRelations
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top