G
Guest
Hello
In wrote this in VB code:
DAComent.UpdateCommand.CommandText = "UPDATE coment SET estmensag='P' WHERE
nomepess LIKE '%" & Trim(TextBox2.Text) & "%' AND emailpess LIKE '%" &
Trim(TextBox3.Text) & "%' AND mensagpess LIKE '%" & Trim(TextBox5.Text) & "%'"
DAComent.UpdateCommand.ExecuteNonQuery()
....and a error ocurs:"Object reference not set to an instance of an object"
Whats that?
Thanks
In wrote this in VB code:
DAComent.UpdateCommand.CommandText = "UPDATE coment SET estmensag='P' WHERE
nomepess LIKE '%" & Trim(TextBox2.Text) & "%' AND emailpess LIKE '%" &
Trim(TextBox3.Text) & "%' AND mensagpess LIKE '%" & Trim(TextBox5.Text) & "%'"
DAComent.UpdateCommand.ExecuteNonQuery()
....and a error ocurs:"Object reference not set to an instance of an object"
Whats that?
Thanks