M
Mark Moeykens
I'm building a WPF app for single users. They enter data, saves to xml file.
They can share this xml document with others who have the same app.
I wanted to keep it simple so basically when they open the xml file I do a:
DataSet.ReadXml("filePathToXml");
When they save their work I do a:
DataSet.WriteXml("filePathToSaveLocation");
Now that I'm further into development I'd like an easier way to query that
data in the dataset with some kind of complex joins.
I know from my full-time job we use DataSets connected to SQL and just add
TableAdapters hooked to stored procedures or sometimes just write the query
right in the TableAdapter methods.
This sounds good but I find that 2008 doesn't offer this ability for Xml
files as far as I can see. Maybe because I just have the Standard version of
Visual Studio.
So does anyone know how I can take advantage of the TableAdapter querying
capabilities with an Xml file as the datasource? Can it be done? If not,
should I pursue a different direction?
Thanks!
Mark Moeykens
They can share this xml document with others who have the same app.
I wanted to keep it simple so basically when they open the xml file I do a:
DataSet.ReadXml("filePathToXml");
When they save their work I do a:
DataSet.WriteXml("filePathToSaveLocation");
Now that I'm further into development I'd like an easier way to query that
data in the dataset with some kind of complex joins.
I know from my full-time job we use DataSets connected to SQL and just add
TableAdapters hooked to stored procedures or sometimes just write the query
right in the TableAdapter methods.
This sounds good but I find that 2008 doesn't offer this ability for Xml
files as far as I can see. Maybe because I just have the Standard version of
Visual Studio.
So does anyone know how I can take advantage of the TableAdapter querying
capabilities with an Xml file as the datasource? Can it be done? If not,
should I pursue a different direction?
Thanks!
Mark Moeykens