Пример #1
0
        private void detail_Format(object sender, EventArgs e)
        {
            GINModel       objPUN = new GINModel();
            rptSUBGINScale rp     = new rptSUBGINScale();

            rp.DataSource       = GINBussiness.GINModel.GetRemainingGinByScale(new Guid(textBox6.Text));
            subReportGin.Report = rp;
        }
Пример #2
0
        private void detail_Format(object sender, EventArgs e)
        {
            GINModel       objPUN = new GINModel();
            rptSUBGINScale rp     = new rptSUBGINScale();

            if (textBox6.Text != "textBox6")
            {
                rp.DataSource = GINBussiness.GINModel.GetRemainingGinByScale(new Guid(textBox6.Text)); //Session["ConsType"].ToString()
            }
            subReportGin.Report = rp;
        }