I have an sqlserver 2000 database and i am able to add records and read from it but i cant modify existing records. My test table just hav user_id,Name, , Phone and State for columns.
updateSql = "UPDATE student " & _
"SET name = '" & Me.TextBox2.Text & "' " & _
"WHERE User_id = '" + Me.TextBox1.Text + "'"
cmd = New SqlCommand(updateSql, cn)
my problem is the statement was executing,but the database not changed.
I cant get my update command to actually do anything.
thanks in advance.