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
DHTML Menu & link to parent and Active link
Forcing a Logout in Windows 2003 Small Business Server
unspecified number of parameters:pass an array of Objects
Can I turn on logging for only 1 mail account in Exchange 2003 server?
Retrieve routing table via SNMP RO Access
When to check if an object exist in javascript?
How to show/hide Child gridview based on CheckBox Click in Parent Grid No PostBack
companyweb site not found
Creating histogram in MINITAB 15
Archiving