Want to build the ChatGPT based Apps? Start here
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Sweety
2.1k
98
107.7k
Fetch autoincremented value to textbox from database
Sep 28 2011 3:13 AM
I have created form empdetails where employee will enter his details like name,address etc the empid will be generated automatically in my case empid starts with 0001 i have created table with empid column made it as identity
when user clicks on the this form i have textbox empid this textbox should display this auto genereated id.
How can i do that i'm using sql server 2005 in asp.net using c#
Can any1 help me on this.
Reply
Answers (
12
)
How to create database on button click
Gridview