stevegray
4Penny.net
Points: 55409

5/27/2022 8:56:38 AM

Call a stored procedure with parameters, return a datatable

* This article, and all our great .NET Development documentation, Is available on the .NET Development menu

At 4Penny, we have an overly complicated piece of library code that we import into all projects that need data access (primer for that here) but on quick jobs it's not worth the setup. 

Here is a quick piece of code that will call a stored procedure and return a dataset. 

 

4Penny.net
Version: All
Section: SQL Scripts,SQL for Beginners
Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3