can't bind Windows Forms Controls to a DataReader object.

  • Thread starter Thread starter sushil n via .NET 247
  • Start date Start date
S

sushil n via .NET 247

you can't bind Windows Forms Controls to a DataReader object.

However, you can bind it to a Web Form's Controls such as the DataGrid

can any one explain how is it possible.
 
Basically because the web datagrid is rendered once using a forward only
reader, but the windows datagrid needs the ability to navigate backwards
through the data to repaint the grid when requested. A datareader can't go
backwards.
 
Back
Top