M
manoj241176
Hi,
I want to use DataRelation object for setting up relationship
between two different datatable, but i want to use multiple columns to
set up relation between two tables. For example.
DataRelation dRelationOrgInd = new DataRelation("OrgInd",
ds.Tables["OrgList"].Columns["iIDOrganization, iIDSeries"],
ds.Tables["IndList"].Columns["iIDOrganization, iIDSeries"], true);
dRelationOrgInd.Nested = true;
ds.Relations.Add(dRelationOrgInd);
I want to use something above mention code, but i am not able to set up
multiple columns in datarelation object for single table.
....I am using C# 2.0
Please tell me how can i achieve the same.
Thanks in advance.
Regards,
Manoj Singh.
I want to use DataRelation object for setting up relationship
between two different datatable, but i want to use multiple columns to
set up relation between two tables. For example.
DataRelation dRelationOrgInd = new DataRelation("OrgInd",
ds.Tables["OrgList"].Columns["iIDOrganization, iIDSeries"],
ds.Tables["IndList"].Columns["iIDOrganization, iIDSeries"], true);
dRelationOrgInd.Nested = true;
ds.Relations.Add(dRelationOrgInd);
I want to use something above mention code, but i am not able to set up
multiple columns in datarelation object for single table.
....I am using C# 2.0
Please tell me how can i achieve the same.
Thanks in advance.
Regards,
Manoj Singh.