to assign values dynamically
I've two buttons to submit files to a text area.Both buttons have been given different conditions. Everytime i browse for a file using 1st button, I'm collecting it in a byte array .Then I'm finding it's size. This I'm storing it in a variable,say old_val. Next time i browse for a file using 2nd button, I'm storing the size in new_val.
Now, when I want to browse for a file again, I need the new_val to be assigned to old_val. Then the recently browsed file size to be assigned to new_val dynamically.