Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
how can i get an auto generated empid from database
November 30, 2011
i am trying to insert the data from asp.net page with the fields of name,address,mobile job ,location.
in the table i have empid(primary key,identity increm..) column with this fields ... so after inserting the data i need to display the empid to the user in asp.net ...
Posted Date: November 30, 2011 Points: 20
Try Trigger Concept.
Thanks & Regards,
Posted Date: December 06, 2011 Points: 20
just open your sql server and click on empid and than set auto identification ..
[url=http://www.axistechnolabs.com/programmers/asp-dotnet-programmers.aspx]hire asp.net developers[/url] , [url=http://www.axistechnolabs.co
Posted Date: December 14, 2011 Points: 20
In column properties of empid column, set Identity specification to "Yes"
To post reply
Related Questions Related Questions
Restoring the Database
Image store in Database SQL SERVER
how can we update database thru datagrid
Auto Increment id not getting decremented with Delete Record
How to Encrypt & Decrypt password and stored in database..
How to change CrstalReport Database in Crystal Report
Programmatically attaching database
How to take Backup of Database at runtime... SQL-2005....
How to lock the database programetically using c# + windows application
Latest Forum Questions From The Same Category
Slash(/) in Combobox
attaching the report in the web page
How do i get payment status in redirect page using bitpay?
Login with Facebook and Save details in database
Login with facebook account in my website
How to make a nested datalist control?
What class does Icon derive from?
What are the validation controls?
What''s the difference between an interface and abstract class?
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend