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
Rails: Ajax disable/enable submit button
SELECT CRITERIA WITH GROUP BY PROBLEM
hyperlinks in email canceled due to restrictions in effect on this computer.
"stat=deferred" in sendmail log and messages not received
Unread Email Not Showing up in Unread Folder
EX2k7SP1 Rollup #4: Ended Prematurely
unable to open, print, or save web based pdfs in IE7
Truncating Floats
Active Sync and Symbol PPT 8800
CHKDSK in Vista