What is datacolumn and how it is used?

Answers were Sorted based on User's Feedback



What is datacolumn and how it is used?..

Answer / 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

What is datacolumn and how it is used?..

Answer / ansu kumar

datacolumn is used for
getting the instance of column of datatable

dim objdc as datacolumn
objdc=objdataset.table(0).newcolumn

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More ADO.NET Interview Questions

How we can provide data to ado.net?

0 Answers  


What are the steps in connecting to database ?

2 Answers   Microsoft,


Explain the overview of ado.net architecture?

0 Answers  


What provider ado.net use by default? Explain the role of data provider in ado.net?

0 Answers  


how do u connect ado.net to sql server

1 Answers   Microsystems,






How do you merge 2 datasets into the third dataset in a simple manner?

0 Answers  


Explain ado.net features?

0 Answers  


What is untyped dataset?

0 Answers  


Which database is the ado.net sql connection object designed for?

0 Answers  


What do you mean by ‘batch updates’?

0 Answers  


What is XML serialization

0 Answers   Digital GlobalSoft,


What is ole used for?

0 Answers  


Categories