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 / shahil singh

dim col() as new dt.datacolumn
col(0)=dt.column(1)
dt.primarykey=col

Is This Answer Correct ?    30 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does sqlclient and oledb class share the same functionality?

943


What is oledb driver?

939


What are the steps you will take to improve performance? Will you use dataset or datareader?

1008


How to identify the updated rows in a dataset?

1021


What is the role of the dataset object in ado.net?

1114


Which components of a data provider is used to retrieve, insert, delete, or modify data in a data source?

1147


What does datareader object do?

1012


What is microsoft ole db provider for sql server?

942


What is ole in excel?

947


How do you find the count of records in a dataset?

978


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

1026


What is oledb connection?

995


What are all features of ADO.Net?

989


What is a dynaset in access?

1068


What are the core objects of ADO.NET?

1051