コード例 #1
0
ファイル: EditRole.aspx.cs プロジェクト: sjyanxin/JiaJiao
 private void BtnUpName_Click(object sender, System.Web.UI.ImageClickEventArgs e)
 {
     string newname = this.TxtNewname.Text.Trim();
     currentRole = new Role(Convert.ToInt32(Request["RoleID"]));
     currentRole.Description = newname;
     currentRole.Update();
     DoInitialDataBind();
 }