Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is datacolumn and how it is used?

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


Please Help Members By Posting Answers For Below Questions

What are the various methods provided by the DataSet object to generate XML?

1057


Why is ADO.NET serialization slower than ADO ?

1104


How to bind the controls(best practice) comboboxes to the data in the dataset?

1098


What is ado oledb and odbc?

987


What are the different methods by which we can populate a dataset?

1284


What is ado in agriculture?

1014


What is ole db query?

1027


Which object of ado contains datarow datacolumn collection?

1013


What are the advantage of ado.net?

1046


What is ado code?

998


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

1092


Define different execute methods of ADO.NET command object ?

1171


In how many ways we can retrieve table records count? How to find the count of records in a dataset?

1051


Give an example that shows how to execute a stored procedure in ado.net?

1117


What are three methods for displaying data in a syncfusion datagrid

1130