Magazines - Problem Mortgage - Free Ringtones - Flights - Personal Loans

PDA

View Full Version : why i can't change value of the public variable?


totally beginner
Jul 13th 2005, 8:30 pm
i just want to change value of the public variable that i declared at the main class.
how to change their value when a button clicked?:confused:

spondishy
Jul 21st 2005, 12:58 am
Hi... Post some code. Is this straight asp or asp.net?

maro
Sep 16th 2005, 4:51 am
I suppose you are refering to asp.net so you should add a click handler to the button and in the function (button click handler) you set the value of the variable as you wish.