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

If we are not returning any records from the database, which method is to be used?

1282


What is a datareader object?

1054


What is an example of ordinal data?

1062


What is two way data binding android?

930


Why is it important to close an ado.net application?

981


What does adodb stand for?

986


What is the current version of entity framework?

913


What are the advantages and drawbacks of using ado.net?

1057


What is DataRowCollection?

1046


What are the different methods by which we can populate a dataset?

1190


Which keyword is used to accept variable number of parameters?

1075


What is ole word?

902


What two types of data providers does ADO.NET supply? What determines which one you should use?

952


Which database is the ado.net sql connection object designed for?

1003


What is dataset object? Explain the various objects in dataset.

992