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
PlaySound fails on Windows 7
ASP Quickie to read loacl Access DB & update one table from another
Exploit Virus Attached to bounced back delivery failures
Using dragdrop, how to "reset" color of a label when mouse leaves and drop has not occurred?
WSS 3.0 back to original
VMware seperating a Nic card
C# - I want to add "Everyone" user with full permission to a registry hive. Is there a way for this?
SQL SERVER 2005 - Problem with sp_addlinkedsrvlogin
Automatic Email Sending
How to copy the XLSX file to XLS file using C#