Exemplo n.º 1
0
        /// <summary>
        /// 绑定数据明细
        /// </summary>
        public override void BindGridDts()
        {
            ColorCardDtsRule rule  = new ColorCardDtsRule();
            DataTable        dtDts = rule.RShow(" AND MainID=" + HTDataID + " ORDER BY Seq", ProcessGrid.GetQueryField(gridView1));

            gridView1.GridControl.DataSource = dtDts;
            gridView1.GridControl.Show();
        }
Exemplo n.º 2
0
        private void btnOK_Click(object sender, EventArgs e)
        {
            try
            {
                ColorCardDtsRule rule = new ColorCardDtsRule();

                ColorCardDts entity = EntityDtsGet();

                rule.RUpdate(entity);

                this.Close();
            }
            catch (Exception E)
            {
            }
        }