There is a lot wrong with the code I'm afraid.
1. Get the SQL stuff out of the GUI code. Read
this article[
^] eg.
2) You're code is vulnerable for SQL injection. See
here[
^]
3) If you want to update your grid, you need to call FillData again after an insert. The grid's DataSource object will not update itself.
4) Remove the Form1, Button1, etc... instances and replace them with some useful names. (also change the corresponding event handler names.)
hope this helps.