RE: Database to Data Structure
From: Saurabh Nandu (SaurabhNandu_at_discussions.microsoft.com)
Date: 07/14/04
- Next message: Saurabh Nandu: "RE: OleDbConnection and MultiThreading"
- Previous message: Saurabh Nandu: "RE: Using Properties To pass fields between Dialogs"
- In reply to: Nick: "Database to Data Structure"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 14 Jul 2004 07:02:01 -0700
Why don't you use the ADO.NET DataSet object to store the data?
Use a ODBCDataAdapter to fill a DataSet object with your query and then you can hold your data locally inside a DataSet object...
-- Regards, Saurabh Nandu AksTech Solutions, reflecting your needs... [ www.AksTech.com ] [ www.MasterCSharp.com ] "Nick" wrote: > Hi, > > * I have established an ODBC connection to an interbase 5.6 .gdb file. > * I have executed a query on the database and put the returned query > data into a data grid. > > The reason I copy the data to the grid is so that the data is > available locally (we need the performance). > > Does anybody know of anyway to load the database data directly into a > class (or other data store) so that we don't need to use a visual > component? Oh, and I'd like to do it in a couple of lines. > > Hope it makes sense (I'm fairly confident, however, that there won't > be a way to this automatically - i.e. without manually extracting the > data and manually populating my own data store). > > Regards, > > Nick >
- Next message: Saurabh Nandu: "RE: OleDbConnection and MultiThreading"
- Previous message: Saurabh Nandu: "RE: Using Properties To pass fields between Dialogs"
- In reply to: Nick: "Database to Data Structure"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|