示例#1
0
        private void tsbQry_Click(object sender, EventArgs e)
        {
            StatReportManage StatReportManage = new StatReportManage();

            gridControl1.DataSource = StatReportManage.sp_ProcessProduct("");


            ////权限判断
            if (rightgroupManage.IsOperateRightByUserID(SysParams.UserID, "IsDisplayPrice", "IsDisplayPrice") == false)
            {
                gridView1.Columns["Price"].Visible         = false;
                gridView1.Columns["MaterialMoney"].Visible = false;

                gridView1.Columns["Price2"].Visible         = false;
                gridView1.Columns["MaterialMoney2"].Visible = false;
            }
        }