// In the method that originally creates the DataTable: >Session["MyDataTable"] = dt; > >// In your Export method: >DataTable dt = (DataTable)Session["MyDataTable"]; >// need to explicitly cast the Session object back to a DataTableYou'll have to decide if saving the DataTable in Session state is reasonable (not too large, won't hang around too long) and also remember to destroy it when you're finished with it.