I am trying to access stored procedures from my ASP.NET / C# web-application.
Is there a particularly good way to do so (also a good way to pass parameters to it)?
I followed following steps and absolutely don't like the approach, as you enter the procedure as a string (un-debugable): http://www.c-sharpcorner.com/UploadFile/dclark/InsOutsinCS11302005072332AM/InsOutsinCS.aspx
If you were to use LinqToSQL, ScottGU has some excellent blog posts on the subject.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With