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
1 Answer
0
you could wrap it in a try catch..