Exemple #1
0
        private void LoadData()
        {
            G.BLL.Sys.ND_UserLogic logic = new BLL.Sys.ND_UserLogic();
            int tcount = 0;

            EditData = logic.ExecuteSelect(Data.Condition.Empty, OrderBy.Parse("USERDM"), 0, 0, ref tcount);

            gGrid1.DataBind <ND_USER>(EditData);
        }
Exemple #2
0
 private void Save()
 {
     try
     {
         editData = eadapter.GetData();
         G.BLL.Sys.ND_UserLogic logic = new BLL.Sys.ND_UserLogic();
         logic.ExecuteUpdate(editData);
         MessageBox.Show("保存成功!");
     }
     catch (Exception e) { MessageBox.Show(e.Message); }
 }