I have a .aspx page with a server side table...i am adding rows to this table on submit of some button...something like this
Sub AddRow(Sender As Object, E As EventArgs)
..
..
..
MyTable.Rows.Add(r)
End Sub
however between calls to this function, I am not able to maintain the state...my table initially has 2 rows...then i add one...so now there are three rows...now when I add more rows the last row gets overwritten...The count property of Rows also remains constant at 3...immediately after adding row it shows count as 4, but when I am back into this function it is reset to 3...does any body have any idea about why this would happen?
Thanks!!!