![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Read the following article by Erland Sommarskog, SQL Server MVP: http://www.sommarskog.se/error-handling-I.html#ADO.Net especially this part: "If you use ExecuteReader, there are a few extra precautions. If the stored procedure first produces a result set, and then a message, you must first call .NextResult before you get an exception, or, for an informational message, any InfoMessage event handler is invoked." Razvan |
#4
| |||
| |||
|
|
Read the following article by Erland Sommarskog, SQL Server MVP: http://www.sommarskog.se/error-handling-I.html#ADO.Net especially this part: "If you use ExecuteReader, there are a few extra precautions. If the stored procedure first produces a result set, and then a message, you must first call .NextResult before you get an exception, or, for an informational message, any InfoMessage event handler is invoked." Razvan |
![]() |
| Thread Tools | |
| Display Modes | |
| |