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 3 major types of connection objects in ado.net?

1050


What is difference between datareader and dataadapter?

1090


What is sql command in ado net?

1013


Which is faster sqldataadapter and sqldatareader?

979


What is the role of clr?

1001


What is the difference between Response.Expires and Reponse.ExpiresAbsolute?

1076


Is datareader faster than datatable?

1017


What is variable view?

924


What is the difference between sqlcommand and sqldataadapter?

1039


What is aggregate root?

1187


What is the difference between executenonquery () and executescalar ()?

1001


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

1095


What is ado.net code?

973


What are all the different methods under sqlcommand?

1029


Why do we need ado.net?

1023