P
Pete Davis
I'm using a web form DataGrid. When I populate the grid, I set the
DataSource to a collection and then call DataGrid.DataBind(). When looking
at the DataGrid in the debugger, the DataSource is set properly. When I then
get to the SelectedIndexChanged() event, the DataSource is set to null. I
have both the page and the datagrid set with enableViewState set to true.
The Items collection is valid and the Cells contain the proper data. What am
I missing? What happened to the DataSource?
Pete
DataSource to a collection and then call DataGrid.DataBind(). When looking
at the DataGrid in the debugger, the DataSource is set properly. When I then
get to the SelectedIndexChanged() event, the DataSource is set to null. I
have both the page and the datagrid set with enableViewState set to true.
The Items collection is valid and the Cells contain the proper data. What am
I missing? What happened to the DataSource?
Pete