Querying or Parsing Datasets?

  • Thread starter Thread starter Ryan Ramsey
  • Start date Start date
R

Ryan Ramsey

I am looking for some advice or best practices on how to do this..

I have an XML file, that I read into a dataset via ReadXML:

PlayersDataSet.Clear();
PlayersDataSet.ReadXml(filePath);

What I would like to do is query the dataset so I can search for people from
California, or people older than 65 or something?

Is there any way to make a SQL data adapter that uses a dataset as the
source data?

How can I parse the content of the dataset?

I have also tried a DataGridView but haven't found the mechanism to do this
since ReadXML is being used to generate the schema information currently.
 
Hi Ryan,

There is DataTable.Select method. Or you could use the DataView with its
RowFilter property.
 

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

Similar Threads


Back
Top