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 the difference between console and windows application?

964


What are the 4 pillars of any object oriented programming language?

881


What is a variable in c#?

901


Does a loop recorder have to be removed?

1020


What is thread and explain states of a thread in c#?

864


In c#, what will happen if you do not explicitly provide a constructor for a class?

957


What issues can be faced while delivering code?

1921


Explain dataadapter.update method in .net?

963


What is unrecognized escape sequence in c#?

922


List the differences between method overriding and method overloading?

958


What is the purpose of static?

974


Why are dynamic link library used over static one?

968


What do you mean by the delegate in c#?

906


Okay, so an int is a value type, and a class is a reference type. How can int be derived from object?

937


What is the use of getcommandlineargs() method in c#.net?

972