How to fetch the last inserted record in a particular table?

Answer Posted / shashi

we get data from this Query

ds.table[0].rows.count-1

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are all the different methods under sqlcommand?

514


Explain sqlconnection object?

528


Which object holds only data and does not interact with data source?

493


What are the pre-requisites for connection pooling?

529


What is dao and ado?

476






What is difference between ado.net and asp net?

508


What are the advantages using ado.net?

529


Explain which name space is used to get assembly details?

522


Can datareader hold data from multiple tables?

672


Describe the disconnected architecture of ADO.NET’s data access model.

536


What is the functionality of data provider in ado.net?

483


Explain how to create dynamic gridview?

512


Why ca not we use multiple inheritance and garbage collector paralelly in .net?

546


Define data adapter?

501


What is a dynaset in access?

518