473,382 Members | 1,376 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Create Recordset from a non standard data source

Hi,

How do you create a recordset from an array or collection?

What I mean is, if I have some data like an array or a collection can I make
that the source of a record set and then use SQL commands to manipulate it
without using a database XML file or webservice.

Regards,

Mike
Jul 19 '06 #1
2 1575
Not yet (this will be likely in the next release, see LINQ).

For now :
- you can databind an array and others collections to controls
- you could create an in memory DataTable and work on this (though you won't
have SQL capabilities but I suppose you don't have an expensive set of data
?)
- you could use a lightweight db
- you likely have thrid party products able to do that (but IMO doesn't
change much from above)
- from where are loaded your data ? (you could access the files through a
driver allowing to perform perhaps the most basic statements)
etc...

--
Patrice

"Mike Spike" <Mi**@melted-Cpu-co.uka écrit dans le message de news:
OJ**************@TK2MSFTNGP04.phx.gbl...
Hi,

How do you create a recordset from an array or collection?

What I mean is, if I have some data like an array or a collection can I
make that the source of a record set and then use SQL commands to
manipulate it without using a database XML file or webservice.

Regards,

Mike

Jul 19 '06 #2
Patrice,

There is in my opinion asked a Recordset, which is in my opinion an Ado
part.

Why are you than giving an DataTable (ADONET) solution?

Cor

"Patrice" <sc****@chez.comschreef in bericht
news:eQ*************@TK2MSFTNGP04.phx.gbl...
Not yet (this will be likely in the next release, see LINQ).

For now :
- you can databind an array and others collections to controls
- you could create an in memory DataTable and work on this (though you
won't have SQL capabilities but I suppose you don't have an expensive set
of data ?)
- you could use a lightweight db
- you likely have thrid party products able to do that (but IMO doesn't
change much from above)
- from where are loaded your data ? (you could access the files through a
driver allowing to perform perhaps the most basic statements)
etc...

--
Patrice

"Mike Spike" <Mi**@melted-Cpu-co.uka écrit dans le message de news:
OJ**************@TK2MSFTNGP04.phx.gbl...
>Hi,

How do you create a recordset from an array or collection?

What I mean is, if I have some data like an array or a collection can I
make that the source of a record set and then use SQL commands to
manipulate it without using a database XML file or webservice.

Regards,

Mike


Jul 19 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: Adam Short | last post by:
I am trying to write a routine that will connect a .NET server with a classic ASP server. I know the following code doesn't work! The data is being returned as a dataset, however ASP does not...
1
by: ano1optimist | last post by:
Has anyone had success with using a command collection with parameters to run a stored procedure from sql server? I'm frustrated and have been spending way too much time trying to make this work. ...
4
by: Melissa | last post by:
I have a frontend file named CustomerApp and backend file named CustomerData. CustomerApp is at C:\Customer Database and CustomerData is at S:\Customer Database. Could someone help me with the code...
4
by: Max | last post by:
Hello everyone, and thank you in advance for all of your help! I have a tblPrint table in Access 2002. Its structure is as follows: tblPrint ------------------ Name, Text Address1, Text...
3
by: alex_peri | last post by:
Hello All, I am having problems with sorting a recordset by fields in Access. I have a table with three columns called ID, SNo and Time and would like to sort the records by Time. I would like to...
1
by: Ray Holtz | last post by:
I have a database in Access 2003 (Access2000 file format). There are two tables that are being used: Employees and Items. It is linked by the Employee field so that one employee can have many...
1
by: Zlatko Matiæ | last post by:
Hello. I have a MS Access front end/PostgreSQL back-end combination. There is a report with nested graph (linked master/child fields). I used saved pass-through queries for both Record Source of...
4
by: etuncer | last post by:
Hello All, I have Access 2003, and am trying to build a database for my small company. I want to be able to create a word document based on the data entered through a form. the real question is...
0
ADezii
by: ADezii | last post by:
Most Access Users realize that Recordsets, being virtual representations of a Query, Table, or SQL Statement, exist only in our PC's memory. They, and the data they contain, literally exist at one...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.