I have a table student (id, name). Then I have one textbox, for entering the name, when click on submit button, it inserts the data into the databa
student
id, name
You don't need to mention the ID in first part.
insert into student(name) values('name')