| Author: Ali Adravi 14 Feb 2007 | Member Level: Silver | Rating: Points: 2 |
Hi! When the page is posted back each and every value of variables vanished, its not only in the case of array but you can't retain value of any kind of variable, controls on the page maintain viewstate, when the page posted back it again fill its previous values from the viewstate. So, if you want to retain any value in variables the there are different methods to store the values in some where and when the page posted back read these values. fou your help: your can put these values in any of the following storage mechanism: viewstate cookies querystring session cache application etc. hope it will help you. ALI
|