I am inserting student values to a table using ado.net form.I want to generate registration number automatically. For Example, "R0001"
Everytime it will automatically incremened by 1.
- "R0001" -> "R0002-> "R0003" and so on.
- "R0010" -> "R0011" and so on.
- "R0100" -> "R0101" and so on.
But i am unable to generate registration number automatically. Can anyone help me?