Problem
- What's this ERROR [HY000] [Microsoft][ODBC SQL Server Driver]Connection is busy with results for another hstmt
- I have problem with OdbcCommand in C# ...
- The {System.Data.Odbc.OdbcErrorCollection} error comes after ExecuteReader
Solution A
Add a SET NOCOUNT ON in first line of CommandText of your Command
Solution B
Change ExecuteReader() to ExecuteNonQuery() or ExecuteScalar()
No comments:
Post a Comment