Click to See Complete Forum and Search --> : how to assign dataset value to an array


rahulvasanth
October 3rd, 2005, 02:17 AM
Hi

I m new to asp.net and I m developing a web site

I want to assign the values of a dataset to an array. How can I assign the values of a dataset to an array ?

Thanking in advance

rahulvasanth
October 3rd, 2005, 08:20 AM
Elaborating on the above,

I m getting a dataset with 8 columns and another dataset with 1 column

I want to store the values of this dataset into an array or hash table or arraylist

Can anyone tell me which is the best option

its urgent...!!!!

Thanking in advance

HairyMonkeyMan
October 3rd, 2005, 08:26 AM
I thought a dataset was an array

rahulvasanth
October 3rd, 2005, 09:44 AM
Thank you very much for the reply, I did not know that dataset is also an array.

I have a dataset which returns fields such as

style_code
style_name
description
price


From the dataset I want to select the record where style_code = '01'

How can I do this ?

Thanking in advance