B
Bijoy Naick
I have something strange going on.. My .aspx page contains a file upload
control, a "Import Data" button, a "newTransactions" <asp:table>,
a"SaveTrans" button and an confMsg label.
First the user selects a file, then clicks Import Data. The page now reads
the PostedFile and displays each line as a new row in the newTransactions
table. All of this works fine.
For now, I've programmed SaveTrans_Click to display the number of rows in
the newTransactions table in the confMsg label.
When I click on the SaveTrans button, all the rows added dynamically in the
table dissapper and as a result, the congMsg label displays 1 (the header
row I hard coded in the <asp:table> declaration).
What do i need to do to avoid this? Why is this happening?
Thanks.
Bijoy
control, a "Import Data" button, a "newTransactions" <asp:table>,
a"SaveTrans" button and an confMsg label.
First the user selects a file, then clicks Import Data. The page now reads
the PostedFile and displays each line as a new row in the newTransactions
table. All of this works fine.
For now, I've programmed SaveTrans_Click to display the number of rows in
the newTransactions table in the confMsg label.
When I click on the SaveTrans button, all the rows added dynamically in the
table dissapper and as a result, the congMsg label displays 1 (the header
row I hard coded in the <asp:table> declaration).
What do i need to do to avoid this? Why is this happening?
Thanks.
Bijoy