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

Data reader read and forward only, how is it possible to get 2 tables of data at a time?

859


What is the use of Dataview?

1063


How do you update a dataset in ado.net and how do you update database through dataset?

871


What is executequery?

896


What is difference between connected and disconnected architecture in ado.net?

1096


What are the parameters that control most of connection pooling behaviors?

942


What is ado.net object model?

917


What are all the different methods under sqlcommand?

920


Describe ado.net object model in detail.

945


Which namespaces are used for data access?

1118


How can we check that some changes have been made to dataset since it was loaded?

916


What is data access pattern?

872


What is the difference between dataset and datatable?

935


What Is Difference Between Ado And Ado.net?

974


Explain all the classes those are used for database connections between sql server and asp.net?

949