My Error
An exception of type 'System.InvalidOperationException' occurred in System.Data.dll but was not handled in user code
Additional information: The connection was not closed. The connection's current state is open.
My Error
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jaish MathewsPosted Aug 6, 2018, 1:54 AM
Jenith ThakkarPosted Aug 6, 2018, 1:47 AM
Replace the line
myconn.Open();
to