M
Matt
So as you all know the great thing about ADO.NET is that I can take an
entire table from a database and dump it into an in memory datatable
using ADO.NET.
Well my question is that now that I have this temporary table, is it
possible to run SQL commands against it like it were an "actual"
table.
To give a simplistic example, lets say I have a table in my SQL Server
database called "Customers" that contains 2 columns (CustomerID,
CustomerName)
I dump that table into a ADO.NET object so now I have all of the rows
in that in memory datatable. Now I have this stored procedure that I
want to run against this in memory table. Would that be possible?
I know you can add a row by creating a datarow and doing it all
manually...but I much rather just run a stored proc.
Is this even possible??
entire table from a database and dump it into an in memory datatable
using ADO.NET.
Well my question is that now that I have this temporary table, is it
possible to run SQL commands against it like it were an "actual"
table.
To give a simplistic example, lets say I have a table in my SQL Server
database called "Customers" that contains 2 columns (CustomerID,
CustomerName)
I dump that table into a ADO.NET object so now I have all of the rows
in that in memory datatable. Now I have this stored procedure that I
want to run against this in memory table. Would that be possible?
I know you can add a row by creating a datarow and doing it all
manually...but I much rather just run a stored proc.
Is this even possible??