Microsoft
Software
Hardware
Network
Question : How do I get a WPF DataGrid to auto refresh when an underlying SQL Server table is updated?
I have been searching for a way to have a WPF DataGrid automatcially refresh itself when new rows are added to a SQL Server table that it represents. Rows are typically added to the table via other processes and the DataGrid is merely a view into that table.
Eventually print and delete capabilities will be added to the grid but right now I just need a way to perform the "auto" refresh.
Storing the records internally is not necessarily a preferred solution as the number of records could get quite large and contain a lot of string data.
Thanks!
Answer : How do I get a WPF DataGrid to auto refresh when an underlying SQL Server table is updated?
have you tried:
MessagesGrid.GetBindingExp
ression(Da
taGrid.Ite
msSourcePr
operty).Up
dateTarget
()
Random Solutions
Ruby program to open and read text file and remove quotes.
How to share folder within a workgroup on a PC running Windows XP Pro SP2
Sendmail error "lost input channel from" using Sendmail version 8.13.1
Files gone missing and only shortcuts appear
PowerShell task will not run when logged off
windows Batch script to test whether uid/pwd of the remote server is correct.
How to display news and stocks in to my site.
Certain emails are showing up blank on Blackberries
Macro freezes Excel. Desperate!
EXCEL: Putting data labels automatically on a scatter graph.