各位大哥,我碰到奇怪问题。下面的页面中有个变量a,是类成员变量,为什么执行了a=2之后,在
btn_adduser_Click函数中a还是0呢,好像a=2无效,但是a=2断点调试的确执行过了,为什么?我用的是VS2010。谢谢。public partial class aa : System.Web.UI.Page
{
    private int a;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            a = 2;
        }
    }
    protected void btn_adduser_Click(object sender, EventArgs e)
    {
        int b;
        b = a;
    }
}