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
How to identify the controls which can be used for binding data?
Explain the various objects in dataset.
How can I retrieve two tables of data at a time by using data reader?
How many major types of connection objects in ADO.NET?
What is bubbled event?
What does ole stand for in excel?
Explain sqlconnection object?
What is openquery?
Which is better entity framework or ado.net?
What is the use of sqldatareader class?
What is a datagridview?
Is it possible to edit data in Repeater control?
What is ado.net and its architecture?
What is acid in ado.net?
What is the difference between sqlcommand and sqldataadapter?