Forum Moderators: open
"UPDATE MyDBTable SET ID = " & DBNull.Value & " WHERE ID = " & MyDropDownList.SelectedValue & ";"
I keep receiving the error "Incorrect syntax near the word WHERE"
Anyone got any ideas what I am doing wrong?
Thanks.
"UPDATE MyDBTable SET ID = NULL WHERE ID = " & MyDropDownList.SelectedValue & ";"