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
Close/Cancel Old Purchase Orders
adding an AHCI storage controller to existing system
PC Crashing, looking for suggestions.
What software is best for a "face finding" scan of images on my hard drive?
Delete worksheets in workbook
Unknown space after hot swap Raid 5
Why would Internet Explorer 8 not allow Google, Bing and Yahoo search web pages to open?
Button control not clicking in some environments
Wordpress on Godaddy Free Hosting
limit mysql insert to 22 players