this code is workin on one column pk but not working for more than one column Pk (Composite key).
what change should be done
\\code start
DataColumn[] keys=new DataColumn[1];
keys[0]=dataSet11.Tables["Orders"].Col...
dataSet11.Tables["Orders"].Constraints... UniqueConstraint("ck_constraint",keys[0]...
dataSet11.Tables["Orders"].PrimaryKey=...
DataRow findrow = dataSet11.Tables"Orders"].Rows.Find("200...
\\code end
I using this in code in c# for data set primray key but composit key not working?
Taht looks good, but I'd try this instead.
\\code start
DataColumn[] keys=new DataColumn[1];
dataSet11.Tables["Orders"].Con... UniqueConstraint("ck_constrain...
keys[0]=dataSet11.Tables["Orde...
dataSet11.Tables["Orders"].Pri...
DataRow findrow = dataSet11.Tables"Orders"].Rows...
\\code end
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment