Hi,
I want to bind a DbDataReader (System.Data.Common) to my GridView.
I tried to bind it via INotifyPropertyChanged, but this is impossible with the DbDataReader. So I tried the following code:
But there happens nothing. How can I bind the datareader to the gridview?
I'm using Visual Studio 2008, .NET 3.5 and RadControls_for_WPF35_2011_2_0920
Thank you for any suggestions!
I want to bind a DbDataReader (System.Data.Common) to my GridView.
I tried to bind it via INotifyPropertyChanged, but this is impossible with the DbDataReader. So I tried the following code:
GridViewMain.ItemsSource = reader;
GridViewMain.Rebind();
But there happens nothing. How can I bind the datareader to the gridview?
I'm using Visual Studio 2008, .NET 3.5 and RadControls_for_WPF35_2011_2_0920
Thank you for any suggestions!