Referencing objects across a postback?

diamondsea

New member
Joined
Apr 21, 2006
Messages
1
Programming Experience
10+
I'm new to the ASP.NET architecture, with old experience in VB6- . I'm trying to have a with two buttons (Preview, Import). Preview opens an Excel file and creates a DataTable object and puts the contents in it and displays it with a DataGrid.

The import needs to use the contents of that table that was created. What is the best way to do this? Can ASP.NET retain the state of the DataTable object (without having to reread the Excel file) across postbacks, or do I have to write it to persistant storage (file, xml, sql-server, etc) between calls?

What would be the best way to persist this across postbacks?

Thanks!

=- Brian
 
Back
Top