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; }
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; }