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
If we are not returning any records from the database, which method is to be used?
What is a datareader object?
What is an example of ordinal data?
What is two way data binding android?
Why is it important to close an ado.net application?
What does adodb stand for?
What is the current version of entity framework?
What are the advantages and drawbacks of using ado.net?
What is DataRowCollection?
What are the different methods by which we can populate a dataset?
Which keyword is used to accept variable number of parameters?
What is ole word?
What two types of data providers does ADO.NET supply? What determines which one you should use?
Which database is the ado.net sql connection object designed for?
What is dataset object? Explain the various objects in dataset.