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 .net c#?

951


What do you mean by “finalize” and “finally” methods in c#?

948


What is default value of decimal c#?

921


what is a static constructor?

1266


What are the basics of c#?

1114


What is data dictionary in c#?

1015


What is the importance of closing an ado.net application?

945


Which technology is best for desktop application?

904


What is get set in c#?

1015


When do you generally use a class over a struct?

1009


Can int be null in c#?

934


What is using directive in c#?

1114


What is reflection c#?

955


What is difference between virtual and override in c#?

929


What is data set in c#?

977