Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Which one of the objects is a high-level abstraction of the connection and command objects in ado.net?

1089


Explain the different row versions available in table?

975


What is openquery?

923


What is Data Provider?

989


What are the data providers used in ado.net

969


What is connection in ado.net?

890


What is difference between datagridview and datagrid control in winforms?

955


Define the executescalar method?

877


What is openrowset?

921


What is the difference between ado.net and oledb?

906


What is full form of ado?

984


What are the pre-requisites for connection pooling?

955


What are the advantage of ado.net?

932


What is difference between entity framework and ado.net?

881


What is serialization and de-serialization in .net?

877