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

How do you inherit a class into other class in c#?

0 Answers  


What are properties in c#. Explain with an example?

0 Answers  


How to implement singleton design pattern in c#?

0 Answers  


I was trying to use an out int parameter in one of my functions. How should I declare the variable that I am passing to it?

0 Answers  


Do extension methods have to be static?

0 Answers  


Why do we need collections in c#?

0 Answers  


What is nullable types in c#?

0 Answers  


1. What is IIS. pl explain practically. 2. Difference b/w webserver and application server. pl explain practically.

1 Answers  


Explain hash table in c# ?

0 Answers  


Can a method return multiple values in c#?

0 Answers  


What is a console?

0 Answers  


What is a c sharp?

0 Answers  


Categories