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
Which one of the objects is a high-level abstraction of the connection and command objects in ado.net?
Explain the different row versions available in table?
What is openquery?
What is Data Provider?
What are the data providers used in ado.net
What is connection in ado.net?
What is difference between datagridview and datagrid control in winforms?
Define the executescalar method?
What is openrowset?
What is the difference between ado.net and oledb?
What is full form of ado?
What are the pre-requisites for connection pooling?
What are the advantage of ado.net?
What is difference between entity framework and ado.net?
What is serialization and de-serialization in .net?