Ejemplo n.º 1
0
        public override void DoInquiry()
        {
            DataTable resultTable = SY0004Dao.GetInstance().Select01();

            this.grdMaster.DataSource = resultTable;

            this.grdMaster.SetColumnAutoResize();
        }
Ejemplo n.º 2
0
        public override void DoSave()
        {
            try
            {
                this.grdMaster.UpdateData();

                SY0004Dao.GetInstance().Insert01(this.grdMaster.InsertSave());
                SY0004Dao.GetInstance().Update01(this.grdMaster.UpdateSave());
                SY0004Dao.GetInstance().Delete01(this.grdMaster.DeleteSave());
            }
            catch (Exception ex)
            {
            }
            finally
            {
                this.AuthCollection.Update();
                DoInquiry();
            }
        }