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

How do you update database through dataset?

730


Which is faster entity framework or ado.net?

691


Give an example that shows how to execute a stored procedure in ado.net?

791


What are all the classes that are available in System.Data Namespace?

768


What is the purpose of using adodb?

693


What are dcl commands?

708


What are the pre-requisites for connection pooling?

737


Which name space is used to get assembly details?

704


Which provider is used to connect ms access, oracle, etc…?

726


What are the advantages of using datalist?

701


What are the Features and disadvantages of dataset

767


What are all the commands used with Data Adapter?

726


How do you find the count of records in a dataset?

678


What is basic use of data view?

726


Does ado.net use odbc?

696