Answer Posted / kamalakannan.a
If we use c#
DataTable dt=new DataTable();
DataColumn Dc1 = new DataColumn("No", Type.GetType
("System.Int32"));
dt.Columns.Add(Dc1);
//Set Primary key
DataColumn[] dc = new DataColumn[1];
dc[0] = dt.Columns["No"];
dt.PrimaryKey = dc;
Kamal..
| Is This Answer Correct ? | 34 Yes | 7 No |
Post New Answer View All Answers
How can we add relation between tables in a dataset?
What does ado stand for in ado.net?
What does executereader return?
What is sql command in ado net?
What is disconnected architecture in ado.net?
What is data view and variable view?
Why ca not we use multiple inheritance and garbage collector paralelly in .net?
What you mean by filtering of data?
What is linq and entity framework?
What is dao and ado?
Define atomicity?
What is the difference in record set and dataset?
How do you implement locking concept for dataset?
What does ado stand for?
What is the role of clr?