Answer Posted / gopi
ds.Tables[0].Constraints.Add("pk_sid",
ds.Tables[0].Columns[0], true);
| Is This Answer Correct ? | 29 Yes | 4 No |
Post New Answer View All Answers
What is difference between datatable and dataset?
How can we add relation between tables in a dataset?
What is ole db query?
Can we do database operations without using any of the ado.net objects?
What is the meaning of executenonquery?
What is ole2 format?
What is ado code?
Why is it important to close an ado.net application?
What is a non query?
What is ole used for?
What is DataRowCollection?
Define Execute Scalar?
What is execute scalar in ado.net?
What is the difference between Optimistic and Pessimistic locking?
Which is faster sqldataadapter and sqldatareader?