retaining info after postback
hi, i'm creating a table with rows on runtime.
the rows are added through some option on the page (not from db).
but when i do a postback a miss the info.
how could i retain that info?
please help!
Re: retaining info after postback
"Gabriel Pineda" <gabrielpineda2001 [at] hotmail.com> wrote in message
news:OU3TrWZmIHA.4208 [at] TK2MSFTNGP02.phx.gbl...
> hi, i'm creating a table with rows on runtime.
> the rows are added through some option on the page (not from db).
>
> but when i do a postback a miss the info.
> how could i retain that info?
Dynamic tables are not maintained across postback - they need to be
recreated each time the page loads...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
RE: retaining info after postback
Store the data in Session State (if user specific, otherwise Cache state) and
recreate the table and data on postback from what you stored.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short Urls & more: http://ittyurl.net
"Gabriel Pineda" wrote:
> hi, i'm creating a table with rows on runtime.
> the rows are added through some option on the page (not from db).
>
> but when i do a postback a miss the info.
> how could i retain that info?
>
> please help!
>
>
>