我让FormView的Insert mode和Edit mode共用一个template,当有数据时为edit,无数据时自动转成insert。但我同时需要修改FormView里面一个按钮的CommandName:        if (FormView1.CurrentMode == FormViewMode.Insert)
        {
            ((Button)FormView1.FindControl("SaveButton")).CommandName = "Insert";
        }
        else
        {
            ((Button)FormView1.FindControl("SaveButton")).CommandName = "Update";
        }我把这段代码分别放在Page_load, FormView1_DataBound, FormView1_ItemCreated时,当无数据时FormView1.FindControl("SaveButton")都返回空值。而放在FormView1_ModeChanged时,发觉当我调用FormView1.ChangeMode去改变mode,FormView1_ModeChanged并没有执行。这该怎么办?