Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am working on school management project in which i want genrate auto registration no and auto roll no how i manage both things please give some instruction and relative code
Posted

Look at using SQL Identity fields: MSDN[^] - they let SQL generate the unique value for you automatically.
 
Share this answer
 
You can use identity field.. It help u to generate automatic unique no... You can set identity using visual studio..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900