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
Can you explain how to enable and disable connection pooling?
Is it possible to edit data in Repeater control?
What are the differences between OLEDB and SQLClient Providers?
What are the advantages and drawbacks of using ado.net?
How do you update a dataset in ado.net?
Explain what are acid properties?
Which property is used to check whether a DataReader is closed or opened?
What is the provider being used to access oracle database?
What is acid in ado.net?
What is ado circle?
What are the different namespaces used in the project to connect the database? What data providers available in .net to connect to database?
What is the difference between sqldatareader and sqldataadapter?
Which is faster entity framework or ado.net?
What does executereader return?
What is the role of clr?