Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I'd like to run SQL queries on a dataset I have in memory without creating a database or requiring a connection to a SQL server. I have several tables in this dataset, and it's faster than standard data manipulation, but I keep running into this brick wall. Thought I had it wih an OleDbConnection, but no such luck... sigh. Suggestions are welcome.

 

-Vax

Posted

sigh.... not what I wanted to hear. Still, in VB6, I was able to create a .mdb MS Access-type database, and manipulate data in that. I don't see such options in VB .NET...

 

I'm trying to create an application that imports data, manipulates it, allows user input, saves the data as current, and then prints reports based on the data, but the machine is not connected to any database server, and the people I'm doing this for are too cheap to get one. There's a fairly large amout of data (approx 50,000 records, 22 columns per), so performance is an issue. Any suggestions?

Posted

The only thing the VB.NET support files seems to talk about is how to create a database on a SQL Server machine. That's all well and good, except that I don't have one, and have less than a snowball's chance in hell of getting these people to get one, especially for this one application. There seems to be no documentation for running SQL queries locally on a local database without installing the desktop version of SQL Server, another thing that is not acceptable.

 

All I really need to do is run SQL commands and queries on the data that I have in these datasets. In VB6, there were no datasets, I did everything like this with recordsets, based off of MS-access type database tables I had created at runtime, using the Jet engine. That option no longer seems available. I've tried manipulating this data by code, but it takes forever and a day, so I'm looking for a database-oriented solution. Maybe I can save the data tables in these datasets to a local database? I'm floundering here, and any ideas would be highly welcome.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...