i'm having a problem i insert a value it will show a error:
incorrect integer value: "for column 'student_no' at row 1
this is the code
Try
MySqlConnection.Open()
Dim query As String
query = " insert into mcs.payment(student_no, mode, registration_fee, miscellaneous_fee, tuition_fee, ptca_fee, computer_fee, user) values ('" & lblstudentno.Text & "', '" & ComboBox1.Text & "','" & txtregfee.Text & "', '" & txtmisfee.Text & "', '" & txttuitionfee.Text & "', '" & txtptcafee.Text & "', '" & txtcompfee.Text & "', '" & lbluser.Text & "') "
Dim Command As New MySqlCommand(query, MySqlConnection)
READER = Command.ExecuteReader
MessageBox.Show("OK")
Catch ex As Exception
MessageBox.Show(ex.Message)
Finally
MySqlConnection.Dispose()
End Try
can you help me???