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

How to find type of variable?

983


Is nullable type c#?

933


Can we have multiple constructors in a class c#?

921


Define the term immutable ?

1067


Is c# 8 released?

903


How do destructors and garbage collection work in c#?

935


What is scope c#?

878


What is the purpose of escape sequence?

1022


Why do we use 0?

937


Why do we need escape characters?

889


What is difference between a function and a method?

941


What is the major difference between a custom control and user control?

1059


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

901


What is object pool in .net?

939


What is typeof c#?

961