con1.Open()
Dim com2 As New OleDb.OleDbCommand("insert into Department(DNo,DName,Manager,AddressL1,AddressL2,City,Telephone,E-mail)values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "','" + TextBox5.Text + "','" + TextBox6.Text + "','" + TextBox7.Text + "','" + TextBox8.Text + "')", con1)
com2.ExecuteNonQuery()
MessageBox.Show("Succsessfuly Inserted", "Insert", MessageBoxButtons.OK)
con1.Close()
Me.Hide()
Form2.Show()
it will display the INSERT INTO Syntax error messaage
any one can help me....