public void BindDLDashboard() { DLDashboard.DataSource = SpecimanDetails.Get_Reports_SpecimenDashBoard("abc", "xxx").Tables[0]; DLDashboard.DataBind(); DLDashboard1.DataSource = SpecimanDetails.Get_Reports_SpecimenDashBoard("abc", "xxx").Tables[2]; DLDashboard1.DataBind(); }
public void BindDLDashboard() { DLDashboard1.DataSource = ObjDAL.GetDashboardhelpdesk("status"); DLDashboard1.DataBind(); DLDashboard2.DataSource = ObjDAL.GetDashboardhelpdesk2("Severity"); DLDashboard2.DataBind(); }
public void BindDLDashboard(DateTime Fromdate,DateTime Todate) { if (Request.QueryString["For"] == "g") { //Table Not Found FY But Send Not Use DataSet ds = ObjDAL.Get_Pending_Godown("godown", Convert.ToInt32(Session["FY"]),Fromdate,Todate,"",""); if (ds.Tables[0].Rows.Count > 0) { DLDashboard1.DataSource = ds.Tables[0]; DLDashboard1.DataBind(); DLDashboard1.Visible = true; PnlAdd.Visible = false; } else { Message("Record not found"); txtFromDate.Focus(); return; } } else { //Table Not Found FY But Send Not Use FY DataSet ds1 = ObjDAL.Get_Pending_Godown("billing", Convert.ToInt32(Session["FY"]), Fromdate, Todate, "", ""); if (ds1.Tables[0].Rows.Count > 0) { DLDashboard1.DataSource = ds1.Tables[0]; DLDashboard1.DataBind(); DLDashboard1.Visible = true; PnlAdd.Visible=false; } else { Message("Record not found"); txtFromDate.Focus(); DLDashboard1.Visible = false; return; } } }