How to fetch the last inserted record in a particular table?
Answer Posted / neha
Through this statement, we can retrieve the same:
ds.Tables[0].Rows[ds.Tables[0].Rows.Count-1]
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the difference between dataset and datatable?
Explain how to call the sql commands asynchronously in ado.net version 2.0?
What are the data access namespaces in .NET?
What is ado recordset?
If a table contains 20000 records . In a page at each time 100 records to be displayed what are the steps you will take to improve performance? Will you use dataset or datareader?
What is datasource in ado.net?
describe the dataset object in ado.net.
What are the namespaces used in ADO.Net to connect to a database?
Can we create Synonymns in MS Acess,My Sql Server,Sql Server? But iam we can create in oracle!
What is the difference between oledb sql server and oledbdotnet provider?
In how many ways we can retrieve table records count? How to find the count of records in a dataset?
What is the difference between data grid and data repeater?
How do you merge 2 datasets into the third dataset in a simple manner?
What are the rules to implement connection pooling?
What are the 3 major types of connection objects in ado.net?