R
Ron
I am having a bit of problem with this code:
Dim cmd As New OleDb.OleDbCommand("INSERT INTO help (Name, Email,
telephone, description)VALUES('" & txtName.Text & "','" &
txtEmail.Text & "','" & txtTelephone.Text & "','" &
txtDescription.Text & "')", New OleDb.OleDbConnection(strconn))
at the end, strconn is underlined in blue and says not defined, I
dont know what to do with this, how do I define it?
Also I have 2 forms...one button shold hide the one form and show
another, here is the code I have and it is not working:
Form2.Show()
Me.Hide()
it does nothing, the new form does not show and me does not hide.
thanks for any help.
Dim cmd As New OleDb.OleDbCommand("INSERT INTO help (Name, Email,
telephone, description)VALUES('" & txtName.Text & "','" &
txtEmail.Text & "','" & txtTelephone.Text & "','" &
txtDescription.Text & "')", New OleDb.OleDbConnection(strconn))
at the end, strconn is underlined in blue and says not defined, I
dont know what to do with this, how do I define it?
Also I have 2 forms...one button shold hide the one form and show
another, here is the code I have and it is not working:
Form2.Show()
Me.Hide()
it does nothing, the new form does not show and me does not hide.
thanks for any help.