[求助] 代码哪里有问题啦???
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If Page.IsValid Then
Dim con As New OleDbConnection
con.ConnectionString = "provider=microsoft.jet.oledb.4.0;data source=" & Server.MapPath("../xf/database/xinxi.mdb")
Dim cmd As New OleDbCommand
cmd.CommandText = "insert into person(id,password,name,sex,birthdate,zjhm,email,address) values('" + TextBox1.Text + "','" + TextBox2.Text + "'," + TextBox4.Text + "," + TextBox5.Text + "" + TextBox6.Text + "#" + TextBox7.Text + "#,'" + TextBox8.Text + "')"
cmd.Connection = con
con.Open()
cmd.ExecuteNonQuery()
con.Close()
End If
以上代码哪里有问题??我想做一个注册的界面,可是填完个人信息后,点击提交就出现下面的错误,知道的人帮帮我
谢谢谢谢```