Answer Posted / kamalakannan.a
DataColumn is used to create the column of the particular
datatable.
DataTable dt=new DataTable();
DataColumn dcExample=new DataColumn("Name",Type.GetType
("System.String);
dt.Columns.Add(dcExample);
dt.Acceptchanges();
Kamal...
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What are the 3 major types of connection objects in ado.net?
What is difference between datareader and dataadapter?
What is sql command in ado net?
Which is faster sqldataadapter and sqldatareader?
What is the role of clr?
What is the difference between Response.Expires and Reponse.ExpiresAbsolute?
Is datareader faster than datatable?
What is variable view?
What is the difference between sqlcommand and sqldataadapter?
What is aggregate root?
What is the difference between executenonquery () and executescalar ()?
How to bind the controls(best practice) comboboxes to the data in the dataset?
What is ado.net code?
What are all the different methods under sqlcommand?
Why do we need ado.net?