26-11-16, 08:58 PM
PHP كود :
strsql = "update USE_R set USER_NAME ='" & Textuser.Text & "'," _
& "PASS = '" & textpassword.Text & "'" _
& "P1 = '" & CheckBox1.Checked & "'" _
& "where USER_ID = '" & TXT_ID.Text & "'"
Dim acscmd As New SqlClient.SqlCommand
sqlcmd.CommandText = strsql
sqlcmd.Connection = sqlconn
sqlcmd.ExecuteNonQuery()
sqlcmd.Dispose()
MsgBox("تمت عملية التعديل على البيانات")
Incorrect syntax near 'P1'.
هذا الخطاء عند تشيك بوكس
& "P1 = '" & CheckBox1.Checked & "'" _
ارجو الحل