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

What is data view and variable view?

902


How do I delete a row from a DataTable?

1149


What does executenonquery () method return?

924


What is the difference between OLEDB Provider and SqlClient?

981


What is the difference between data grid and data repeater?

1070


What you mean by filtering of data?

947


What is difference in record set and dataset?

1064


How to copy the contents from one table to another table and how to delete the source table in ado.net?

1028


What do you mean by performing asynchronous operation using command object?

1028


What is concurrency? How will you avoid concurrency when dealing with dataset? (One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid the problem?)

995


Define connection string?

1060


What do you know about ado.net's objects?

992


What are the key features of ado.net?

1191


What are the namespaces used in ado.net for data access?

976


Name which operations can you not perform on an ado.net dataset?

981