Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1865
DataGrid not refreshing data
posted

I have a User control with two xamDataGrids.

When an event is fired by SummaryDataClass, I use this code to update my datagrid.

DataTable dt = SummaryDataClass.Instance.GetData();

xgrdSummary.DataSource = dt.DefaultView;

 

Now, if I view datatable dt in debug mode, it has the updated data, however, the grid is not updating. I am also using Dispatcher.Invode, but still the xamDataGrid is not refreshing data. Please help.

 

Thanks.