Results 1 to 3 of 3

Thread: Filtering DataSet data

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2002
    Posts
    30

    Filtering DataSet data

    Is it at all possible to get only certain rows from a DataSet? Like some sort of a SELECT statement from a temporary DataSet...

    I'm trying to have an app work on *only* a DataSet without using a db since my data doesn't have to be stored permanently.

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Yes you can get a filtered array of datarows using the select method:
    VB Code:
    1. Dim dr() As DataRow=DataSet1.Select("Column1Name=1")

  3. #3
    Fanatic Member VBCrazyCoder's Avatar
    Join Date
    Apr 2003
    Posts
    681
    I believe you can also use a dataview.

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