Datareader to a DataGrid on a WINFORM

  • Thread starter Thread starter ALI-R
  • Start date Start date
A

ALI-R

Hi All,

Is there really a way of binding a DataReader to a Datagrid in a Windows
Forms Application?.I know that in ASP.NET ,you just simply set the
datasource and call DataBind() method.

Thanks
 
No, not without walking through it and then building a bindable object and
binding it to that. You don't gain much though even if you could b/c all of
that data would have to be persisted in order for the grid to hold it - so
you woudln't be saving memory or anything.
 
Back
Top