ASP.NET - generate empid automatically while we give data in the textboxes

Asked By subbu p on 11-Feb-13 04:42 AM
Hi to all,   
         I want code and design for automatically generate an empid while we give data into the textboxs.then by clicking submit button the data what we entered are stored in database and generate a empid automatically and by considering that empid as a username and password.Please solve my problem.

 Thanks in advance
anshuli replied to subbu p on 12-Feb-13 11:59 AM
You can set IsIdentity parameter true in that column.