collection to dataset

N

NuB

I have a collection of data, that i'm looping thru and reading and
populating a file. Can i make that collection into a dataset so i can then
create a dataview, or dataTable to then sort, etc, thru it.
 
C

Chad Z. Hower aka Kudzu

NuB said:
I have a collection of data, that i'm looping thru and reading and
populating a file. Can i make that collection into a dataset so i can
then create a dataview, or dataTable to then sort, etc, thru it.

Yes, just load the dataset. This isnt 100% what you want, but it should give you some starting points:
http://tinyurl.com/97nzb


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Develop ASP.NET applications easier and in less time:
http://www.atozed.com/IntraWeb/
 
N

NuB

I don't think that will work.
here is the thing, i'm reading a text file and putting the data into a
collection class. I then want to put all of those items into a dataset so i
can "manipulate" the data and display it.
so in essence i'm taking data from a text file - not a DB and need to create
a dataset then a dataview, etc.
 
C

Chad Z. Hower aka Kudzu

NuB said:
here is the thing, i'm reading a text file and putting the data into a
collection class. I then want to put all of those items into a dataset
so i can "manipulate" the data and display it.

You have to parse it, but the URL I showed you shows you how to work with a dataset once you have
parsed each "row"/
so in essence i'm taking data from a text file - not a DB and need to
create a dataset then a dataview, etc.

If you read the URL, you will notice that the article does not use a DB either, and thus one reason I
pointed you at it.


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Empower ASP.NET with IntraWeb
http://www.atozed.com/IntraWeb/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top