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
Are there circumstances that a ID pointing to a non-existent database will be created in the DB layer of a active database?
Looping through rows of controls
Help Virtualizing Server Rooms
Remove data row
Capturing Subject for Reply and Forward
Domino 8.5.2 Upgrade from 8.5.1 on Server 2008 R2 64 Bit
Which is the BEST to secure LAN : WEP, WPA or WPA2?
Access mdb database to ,xml file
How to determine source of error on 3750-stack?
using autoexec macro to update database with windows scheduled tasks