/// <summary> /// 绑定Grid /// </summary> public override void BindGrid() { PaymentHandleRule rule = new PaymentHandleRule(); gridView1.GridControl.DataSource = rule.RShow(HTDataConditionStr, ProcessGrid.GetQueryField(gridView1)); gridView1.GridControl.Show(); }
public void BindGrid() { PaymentHandleRule rule = new PaymentHandleRule(); DataTable dt = rule.RShow(" AND OrderFormNo =" + SysString.ToDBString(m_OrderFormNo), ProcessGrid.GetQueryField(gridView1)); Common.AddDtRow(dt, 20); gridView1.GridControl.DataSource = dt; gridView1.GridControl.Show(); }