how to generate a employee code in textbox automatically while in run time in web application.......when i run the page it will check the employee code in the database and it automatically shows the next value in the textbox how?
You can create s stored procedure to get the next value
create procedure GetNextId As begin declare @Id int select top 1 @Id = id from myTable order by Id desc select @Id end
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.