I have a DataTable varriable in C# and I want to insert it to a ##TempTable in SQL Directly. I dont want to do like insert into ##TempTable row by row.
How can I do that ?
Select Into ##TempTable from (C# DataTable) ?
Or I m asking in a different way: how can we send a dataset to SQL in a Query from C#?
Note: I m using SqlClient, and SqlHelper classes
Just in case anyone has the same requirement. Any comment is welcome. Code in VB.