How do I load a grid from a dataset with a new query!

  • Thread starter Thread starter newsaboutgod
  • Start date Start date
N

newsaboutgod

I am loading a dataset from a XML file.

I want to allow the user to display data from the dataset in a grid.

Depending on which button they click i want to load the grid with a
subset of data from the dataset.

So, once I load the dataset from the XML file, how would I load the
grid with only the data from the dataset that had "smith" in the last
name?

I thought a dataset was like a relational database but i am not sure
how to load the grid from the dataset by applying a "select * from
dataset where ln = 'smith'"

Any help would be great!!

Sheila
 
Sheila,

Assuming that when you use the term dataset you really mean a datatable
within the dataset, look up the datatable's DefaultView property in the
online help.

Kerry Moorman
 
Back
Top