Good Afternoon All,
I'm fairly new at VB.Net and Visual Studio so please bear with me if what I'm asking seems ridiculous.
I would like to query a MS SQL Server database (not on the local machine) and store the results in a so-called "in-memory" DataTable.
I've done this... not too difficult.
However, I would then like to put that DataTable and its contens into a different database (I created a local database in the application using I believe SQL Compact Edition).
The reason for doing this is that my initial query that I ran against the MS SQL Server is providing me with intermediate results. I would then like to combine several of these intermediate results and query and join them (using SQL statements) on the local machine, rather than having to do this on our main server.
Basically, my main hiccup is copying a DataTable (with data in it) into a database it didn't come from.
I've searched high and low for ways of doing this but with no luck.
I would greatly appreciate any assistance regarding this.
As a note: I've looked at LINQ, but that seems rather complicated.
Thanks in advance!
Max
I'm fairly new at VB.Net and Visual Studio so please bear with me if what I'm asking seems ridiculous.
I would like to query a MS SQL Server database (not on the local machine) and store the results in a so-called "in-memory" DataTable.
I've done this... not too difficult.
However, I would then like to put that DataTable and its contens into a different database (I created a local database in the application using I believe SQL Compact Edition).
The reason for doing this is that my initial query that I ran against the MS SQL Server is providing me with intermediate results. I would then like to combine several of these intermediate results and query and join them (using SQL statements) on the local machine, rather than having to do this on our main server.
Basically, my main hiccup is copying a DataTable (with data in it) into a database it didn't come from.
I've searched high and low for ways of doing this but with no luck.
I would greatly appreciate any assistance regarding this.
As a note: I've looked at LINQ, but that seems rather complicated.
Thanks in advance!
Max