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

Is datetime immutable c#?

0 Answers  


Is linkedhashset synchronized?

0 Answers  


Can we store different data types in arraylist in c#?

0 Answers  


Say true or false,Private constructor have object or not?

7 Answers   IBM,


Explain the difference between proc. Sent by val and by sub?

0 Answers  


how to create crystal reports give one detail example(i want to view age category report) please give suitable example in my small knowledge

0 Answers  


What does an indexer do?

0 Answers  


what is master pages how to use it. plase give one example in code vice

1 Answers  


Explain about generics in c#.net?

0 Answers  


What is a ienumerator?

0 Answers  


What?s the difference between <c> and <code> XML documentation tag?

1 Answers  


Is string reference type / value type ?

7 Answers   3i Infotech, Accenture, BirlaSoft,


Categories