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



hi In my database i put id column as identity(the database is incremented by it self only)what i..

Answer / 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

More C Sharp Interview Questions

Can you allow class to be inherited, but prevent the method from being over-ridden?

2 Answers   Mind Tree,


What is different between Static Constructor and Private Constructor?

0 Answers  


Why is it not a good idea to use empty destructors?

0 Answers  


Is cli same as the clr?

0 Answers  


What is stringreader in c#?

0 Answers  


What is the difference between readonly and constant in c#

2 Answers   Fulcrum Logic,


what are windows services?

0 Answers  


Is functional interface runnable?

0 Answers  


How do I make a dll in c#?

0 Answers  


what is bubbled event ? give suitable example in code vice with demo

2 Answers  


What is difference between the "throw" and "throw ex" in .net?

0 Answers  


Is there regular expression (regex) support available to c# developers?

0 Answers  


Categories