web development - passing data

  • Thread starter Thread starter shl
  • Start date Start date
S

shl

My app is for data entry over the web. The user enters
data into a datagrid on the 1st pg, which I put into a
datatable ( this datatable has 10 columns, and could be
up to about 100 rows). When the user is finished with
this data entry, he goes to the 2nd pg, where another
data grid is displayed, and some of the data (about 5 of
the columns from the 1st pg)is to be displayed in the
datagrid in read only mode, and the user can enter more
info. The 'powers to be' want this data entry split over
two pages, and my question is can/how can the data from
the 1st pg be transferred to the 2nd page - is it
possible to pass a datatable from page to page without
having to connect/access the database again. I've also
tried creating a collection of data items (data
structures that mimic the datarows), and the collection
works fine on the 1st page (adding, etc), but I can't
seem to pass it/access it from the 2nd page with the data
still present. Any ideas welcome. Thanks.
 
Hi shl
You can save data in the session, I recommend you to look therefore in/on
MSDN.

Just by using session("myvariable") = data
(It is only string data)

Recommended is to make it not to big because they say it uses a lot of
effort from the server.

I think that we have to keep always in mind that a user can not (or very
slowly) respond on a page and therefore to get again data from a database is
not spoiled work.

(You even can save your data it in a cookie, but that would I certainly not
do).

Cor
 
Back
Top