Many articles recommend adopting “SET NOCOUNT ON” to avoid receiving message like “1 Row(s) affected”.
I’m curious what ADO.NET API I can use to get message when SET NOCOUNT OFF.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
SET NOCOUNT ON and reading messages using C# and ADO.NET
SqlConnection.InfoMessage Event