Hi,
I have a datatable:
DataTable dt = new DataTable();
dt = report.BodyTable;
Now I want to run a stored procedure on dt (i.e. the in-memory dt object NOT a Sql Server table) and return the results to another datatable. I am using SQL SERVER 2005.
Is this possible?
Stored Procedure on a C# datatable NOT a sql table
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Posted Oct 12, 2010, 7:32 PM EDT
http://msdn.microsoft.com/en-us/library/system.data.datatable.select.aspx
http://authors.aspalliance.com/aspxtreme/sys/data/DataTableClassSelect.aspx
http://www.developerfusion.com/article/4703/filtering-and-sorting-in-adonet/2/