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...

hi

In my database i put id column as identity(the database is
incremented by it self only)what i want is if i enter a data
in my website, id will come automatically can u pl z tell me
the code
thax in advance

Answer Posted / swaroop

What I understood from your question is you want to display
the latest value from the ID column, in your web page.

Write code in the page load event such to fetch the latest
value from the ID column, and display it in your page.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is overloading with example?

870


How big is a float?

871


What do you understand by 'access specifiers' in C#?

857


What are console applications used for?

881


windows c# using datagridview in edit form sql server

4038


What is the base class of all classes in c#?

959


What is private in c#?

839


What is entity framework c#?

819


What is console used for?

957


What is executenonquery c#?

838


What is difference between private, protected, and public in C#?

1003


Is an interface a type c#?

925


What is concrete class in c#?

850


How can you prevent escaping on backslashes in C# with string definitions?

1192


Can an exception be thrown from a catch block?

972