How to get the DataSource of a DataGrid from my WebControl ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In my WebControl, i need to get the DataSource of a DataGrid, but as the page
is postback from client, so myDataGrid1.DataSource is Nothing at all.

Thanks a lot for any suggestion!
 
David,

When it is a dataset than you can save it in a Session, it will be saved
automaticy serialized.

When you want to get it back from the session, you will have to cast it.

I hope this helps?

Cor
 
Back
Top