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

How to generate a single aggregate?

535


What is the use of sqldatareader class?

466


How to store data in memory?

504


What is the default Timeout for SqlCommand.CommandTimeout property?

499


Which method is used to sort the data in ADO.Net?

1499






How to add a javaScript function in a datagrid?

563


What are the differences between OLEDB and SQLClient Providers?

557


How to creating a SqlCommand Object?

588


What does ole stand for in excel?

596


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

506


What are the benefits of using ado.net?

511


What are the essential features of ado.net?

533


What does executenonquery () method return?

495


What is disconnected architecture in ado.net?

497


What is a string variable?

479