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
Parental control for the internet
Defining variables to display words based on coded values
Changing ownership per KB: 271071 Gets me the hour glass
Maximum HDD Temperature risk
How to Download all files using FTP from a VS 2008 VB project
Windows 2003 SBS locks up during full scan of Malwarebytes.
Set which browser opens and responds to "mailto:" links
Access Query
Sonicwall TZ 190 - Disable public admin login (port 80)
VBA RunTime Error 424 Object Required Excel