your code needs to remember the rows it added on the last click, and
re-add them on the postback (say in oninit).
-- bruce (sqlwork.com)
> I am trying to programmatically add rows of data to a table web control
> in VS2005. I am getting the data from 2 drop-down controls and 2
[quoted text clipped - 33 lines]
>
> End Sub
Geary - 26 Jul 2007 14:03 GMT
If I am understanding you correctly, you are saying that every time the
user triggers the code to add a new record to the table control, the
code has to re-add all of the existing records already in the table in
addition to the new one?
And this would be because of the statelessness of web apps?
> your code needs to remember the rows it added on the last click, and
> re-add them on the postback (say in oninit).
[quoted text clipped - 38 lines]
>>
>> End Sub