예제 #1
0
파일: Form1.cs 프로젝트: xydoublez/cyqdata
 private void btnUpdate_Click(object sender, EventArgs e)
 {
     using (UsersBean ub = new UsersBean())
     {
         ub.UI.SetAutoParentControl(this);
         ub.Update(txtUserID, true);
     }
     LoadData();
     OutMsg();
 }
예제 #2
0
 private void btnUpdate_Click(object sender, EventArgs e)
 {
     using (UsersBean ub = new UsersBean())
     {
         MDataRow row = MDataRow.CreateFrom(ub);
         row.LoadFrom(false, this);
         row.SetToEntity(ub);
         ub.Update();
     }
     LoadData();
     OutMsg();
 }