Exemplo n.º 1
0
        /// <summary>
        /// 绑定Grid
        /// </summary>
        public override void BindGrid()
        {
            QSRule    rule = new QSRule();
            DataTable dt   = rule.RShow(HTDataConditionStr, ProcessGrid.GetQueryField(gridView1));

            gridView1.GridControl.DataSource = dt;
            gridView1.GridControl.Show();
        }
Exemplo n.º 2
0
        /// <summary>
        /// 绑定Grid
        /// </summary>
        public override void BindGrid()
        {
            QSRule    rule = new QSRule();
            DataTable dt   = rule.RShow(HTDataConditionStr, ProcessGrid.GetQueryField(gridView1).Replace("SelectFlag", "0 SelectFlag"));

            setDt(dt);
            gridView1.GridControl.DataSource = dt;
            gridView1.GridControl.Show();
        }