P
Pankaj
Hi
i am inserting the data into database throught variables. On click
event of button m using this code:
Dim objCon As New OleDbConnection(CONNECTION)
Dim objCmd As New OleDbCommand(SQL, objCon)
SQL = "INSERT INTO linkinfo VALUES('" & Sno & "','" & Website & "','" &
Path & "')" & _
"('" & Keywords & "','" & MeWebsite & "','" & MePath & "','" &
MeKeywords & "')" & _
"('" & ContactName & "','" & ContactEMail & "','" & Createdate & "','"
& ModifiedDate & "')"
objCmd.ExecuteNonQuery()
when i click on command button it gives error in sql statement. so
please help me with solution code
thanks in advance
i am inserting the data into database throught variables. On click
event of button m using this code:
Dim objCon As New OleDbConnection(CONNECTION)
Dim objCmd As New OleDbCommand(SQL, objCon)
SQL = "INSERT INTO linkinfo VALUES('" & Sno & "','" & Website & "','" &
Path & "')" & _
"('" & Keywords & "','" & MeWebsite & "','" & MePath & "','" &
MeKeywords & "')" & _
"('" & ContactName & "','" & ContactEMail & "','" & Createdate & "','"
& ModifiedDate & "')"
objCmd.ExecuteNonQuery()
when i click on command button it gives error in sql statement. so
please help me with solution code
thanks in advance