From couple of days i am trying to write a code that would generate Id automatically
and store it in table. I have a table "STU". It has two columns Id and Name.
I have taken a form which has two text boxes and a button.
text box1 is for ID and it is disabled, textbox2 is for name where user has to enter a
name. I want the ID which is generated automatically, to be displayed in textbox1 and then store
it with the name that user has entered in textbox2. If anybody can suggest a code or a logic
that would be great.