Reputation: 77
I have problem on this line:
TextBox1.Text = '0'
More code:
Private Sub Button18_Click(sender As Object, e As EventArgs) Handles Button18.Click
TextBox1.Text = '0'
End Sub
I getting error Expression expected.
Upvotes: 1
Views: 5274
Reputation: 1
Me.OtrosTableAdapter.Update1(id:=@id,nombre:=@Nombre,precio:=@Precio,Entrad:=@Entrad,salid:=@salid) which is the error? Every time I go to compile , it fails with the "@ "
Upvotes: 0
Reputation: 44871
Been a while since I worked with VB but I'm pretty sure you need to use double quotes so this line:
TextBox1.Text = '0'
should be:
TextBox1.Text = "0"
Upvotes: 1