SQL Print output in ADO.NET
Thank you to this StackOverflow answer for showing how to retrieve PRINT result from SQL Server in C#:
conn.InfoMessage += (sender, e) => { // e.Message contains the print output };
Software development tutorials and demos lasting no more than 60 seconds. No in-depth explanations, no off-topic rants, and no slides. One small topic per video - only code, console, config, and client. All videos come with a corresponding blog entry, and all code is available on GitHub.
Thank you to this StackOverflow answer for showing how to retrieve PRINT result from SQL Server in C#:
conn.InfoMessage += (sender, e) => { // e.Message contains the print output };
Comments
Post a Comment