0

What should i do when the title of the error is'invalidOperationException was unhandled' on MysqlDataReader

I am working with one project using MySQL workbench with c#. I have already written the code for the log-in windows with the mvc method but when I build the eroor is 'an unhandled exception of type'system.invalidOperationException' occurred in MySQL.data.dll'. please I could I solved this problem. this error appear on MysqlDataReader dr = cmd1.ExecuteReader(); cordially

20th Jan 2018, 6:58 AM
Mimodje Noupeyou Modeste
Mimodje Noupeyou Modeste - avatar
1 Answer
0
you could wrap it in a try catch..
23rd Jan 2018, 8:28 PM
John
John - avatar