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

Explain how to parse a datetime string?

0 Answers  


What is the signature of a method?

0 Answers  


What is early binding and late binding

12 Answers   ABC, Infosys, TATA,


Does hashset allow duplicates c#?

0 Answers  


Can we have only “try” block without “catch” block in c#?

0 Answers  


Is int reference type c#?

0 Answers  


What does public mean in c#?

0 Answers  


What is visual c# net?

0 Answers  


Explain About friend and Protected friend

0 Answers  


Is there throws keyword in c#?

0 Answers  


What is wpf application in c#?

0 Answers  


What do constructors do in c#?

0 Answers  


Categories