Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

more columns in relation

Status
Not open for further replies.

tek1ket

MIS
Jan 25, 2009
70
0
0
IR
how can i make a dataRelation to having more than one Relation between two tables

this is what i have for one column having Relation

childCol = myds.Tables["TblCTVKnee"].Columns["CoreNo"];
parentCol = myds.Tables["TblCTDef"].Columns["CoreNo"];
DataRelation myRelation;
myRelation = new DataRelation("RelationCT", parentCol, childCol);

what if two table should be connection with more that one columns like 1)CoreNo 2)Id?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top