CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2004
    Posts
    265

    Unhappy how to assign dataset value to an array

    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

  2. #2
    Join Date
    Sep 2004
    Posts
    265

    Re: how to assign dataset value to an array

    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

  3. #3
    Join Date
    Dec 2003
    Location
    Northern Ireland
    Posts
    1,362

    Re: how to assign dataset value to an array

    I thought a dataset was an array
    Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rich Cook


    0100 1101 0110 1001 0110 0011 0110 1000 0110 0001 0110 0101 0110 1100 0010 0000 0100 0101 0110 1100 0110 1100 0110 0101 0111 0010

  4. #4
    Join Date
    Sep 2004
    Posts
    265

    Re: how to assign dataset value to an array

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured