For x=0 To 2
Dim FO As String
Dim DataQuery1 As String
DataQuery1 = "Select * from dole_employees WHERE fullname like '%" & Temp_Employees_Name & "%'"
mysqlcommand = New MySqlCommand(DataQuery1, mconnection)
readme = mysqlcommand.ExecuteReader()
While readme.Read()
FO = readme(1)
End While
readme.Close()
MsgBox(FO)
Next
After it displays the value in FO
once, an unhandled exception error occurs. What should I do with that?
Here is the additional information to unhandled exemption error. Additional information: There is already an open DataReader associated with this Connection which must be closed first. But there is already a readme.close() so why does this happen?