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

What is namespace in oops?

1 Answers  


What is method in c#?

1 Answers  


Explain About stateless and state full web service

1 Answers   Digital GlobalSoft,


Can enum be null c#?

1 Answers  


Name the two classes are required for implementing a windows service?

1 Answers  


Can you change the value of a constant filed after its declaration?

1 Answers  


Difference between call by value and call by reference in C#?

1 Answers   Hexaware,


What is getenumerator?

1 Answers  


What are primitive data types in c#?

1 Answers  


Explain About disco and uddi

1 Answers   Digital GlobalSoft,


Is c# a strongly-typed language?

1 Answers  


Why do we use yield in c#?

1 Answers  


Categories