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

Which is faster dataset or datareader?

1023


What are the benefits of using of ADO.NET in .NET 4.0?

1154


What are the benefits of using ado.net?

1050


What is full form of ado?

1144


how Sequence to connect and retrieve data from database using dataset?

1355


How to load multiple tables into a dataset?

1127


Does ado.net use odbc?

999


How to enable and disable connection pooling?

1112


What is sqldatareader in ado.net?

970


What are the benefits of ADO.NET?

1175


What is bubbled event can you please explain?

1107


What is acid in ado.net?

1107


What are the essential features of ado.net?

1009


How to connect and retrieve data from database using dataset

1107


How can you add or remove rows from the datatable object of dataset?

1075