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...

How to add Primary key in DataSet

Answer Posted / rajesh bhawsar

dt.PrimaryKey = {dt.Columns(0)}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different methods available under the sqlcommand class to access the data?

1051


Why do we need ado.net?

970


Is it possible to load multiple tables in a Dataset?

1079


What is ole in vb?

902


Which parameter of ConnectionString is used to specify the name of the database?

1061


How to add a check box or a dropdown list to a column in a datagrid?

972


What is the executescalar method?

1102


How can we serialize the dataset object?

1003


What is ado circle?

1138


Define partial class?

978


What are the advantages using ado.net?

1039


Why edit is not possible in repeater?

953


How do you update a dataset in ado.net?

1032


What is the advantage of ado.net?

1020


How can we add/remove row's in "datatable" object of "dataset"?

1025