Microsoft
Software
Hardware
Network
Question : Storing a Datatble in WPF app for future use.
I'm using a WPF app to interrogate an SQL 2008 database. The app is a dashboard style app, so updates every minute.
To save quering the database every minute (as the data will only change 24 hours). I'm think of STORING the data.
Is it possible to save the Datatable to an observablecollection? Or is it ok to save the datatable.?
Answer : Storing a Datatble in WPF app for future use.
Yes. You can save datatable.
You can use
DataTable.WriteXml
to get the datatable as xml string ans save the xml string in your storage.
Random Solutions
Need help inserting a pdf into the body of a email in outlook 2003
How do I add var to a function
how to bypass email scanner?
Would you support the Japanese putting up a memorial at Pearl Harbor?
How to get all child class or classes that implements an abstract class?
How do I specify that a variable is a number rounded to one decimal place?
Access Query Subform Value
SQL error numbers
Multi-User is SLOW
Best Offsite Backup Software for Windows Server