P
ProgramAnalyst
hey all,
I've just spent the day creating a page that displays records from a
DB in a table. Each record has its own table and when u click the
"edit" button the fields become enabled and what I would like is that
when u click the "save" button the DB gets updated.
Since tables dont have viewstate a co-worker of mine suggest that each
control in the table should be placed in an arrayList so they can
easily be accessed. I went ahead and did this and finised the page.
the problem: Any changes u make to the page before hitting "save" dont
stay because I have to recreate the tables so all the old info is
loaded in. If I dont recreate the tables then all my arrayLists are
empty (why i dont know because the arrayLists have global scope)...
does anyone know what I must do to fix it so my arrayLists dont get
emptied?
Thanks in advance.
*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
I've just spent the day creating a page that displays records from a
DB in a table. Each record has its own table and when u click the
"edit" button the fields become enabled and what I would like is that
when u click the "save" button the DB gets updated.
Since tables dont have viewstate a co-worker of mine suggest that each
control in the table should be placed in an arrayList so they can
easily be accessed. I went ahead and did this and finised the page.
the problem: Any changes u make to the page before hitting "save" dont
stay because I have to recreate the tables so all the old info is
loaded in. If I dont recreate the tables then all my arrayLists are
empty (why i dont know because the arrayLists have global scope)...
does anyone know what I must do to fix it so my arrayLists dont get
emptied?
Thanks in advance.
*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*