troubleshooting Question

How Do I Reload Datagrid

Avatar of Annette Wilson, MSIS
Annette Wilson, MSISFlag for United States of America asked on
Web Applications
2 Comments1 Solution836 ViewsLast Modified:
My grids automatically load when the page loads.  
When users need more detail information, I have a service that loads details in those grids (new data).

I have a button click event that I want to reload the same data that comes in on page load.

How do I reload my grids?


Private Sub btnClearEmpHistDetail_click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles btnClearEmpHistDetail.Click
        EmpHist_vwDomainDataSource.Load()
        EmpHistDetails_vwDataGrid.ItemsSource = ?
        EmpHistDetails_vwDataGrid1.ItemsSource = ?
        EmpHistDetails_vwDataGrid2.ItemsSource = ?
        EmpHistDetails_vwDataGrid3.ItemsSource = ?
    End Sub
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros