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 different ado.net namespaces?

1074


What is ado data control?

1007


What is the difference between Dataset. clone and Dataset.copy?

1054


Which is faster datareader or dataadapter?

1003


If we are not returning any records from the database, which method is to be used?

1331


What is the difference in record set and dataset?

1033


What are the Data providers in ADO.Net?

1020


What is Data view?

1085


Explain how can we load multiple tables in to dataset?

948


What are the methods of XML dataset object?

1028


What is difference between ado and other data object?

920


What is DataReader Object?

1056


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

975


How will you fill the gridview by using datatable object at runtime?

1067


Describe ado.net object model in detail.

1003