actually i am developing a web application for employees..in that web application i provide a empcode and provide a textbox,,,if i run the application means,the empcode will automatically shows the next number..for example i stored e001 to e005,in the database,again i want to run the application,if i run the application again in the employee code textbox it will automatically shows e006,how ?