public void BindGrid() { if (RdblSelection.SelectedValue == "0") { try { DataTable dt = new DataTable(); dt = IC.BINDGRIDall(Session["BRCD"].ToString(), txtfromdate.Text); GrdInv.DataSource = dt; GrdInv.DataBind(); } catch (Exception Ex) { ExceptionLogging.SendErrorToText(Ex); } } else { try { DataTable dt = new DataTable(); dt = IC.BINDGRID(Session["BRCD"].ToString(), txtfromdate.Text, txtfdepositgl.Text); GrdInv.DataSource = dt; GrdInv.DataBind(); } catch (Exception Ex) { ExceptionLogging.SendErrorToText(Ex); } } }
public void BindGrid() { DataTable dt = new DataTable(); dt = IC.GetInvDetails(RdblSelection.SelectedValue, "1", txtfromdate.Text, txttodate.Text, Session["EntryDate"].ToString(), txtfdepositgl.Text); // dt = IC.BINDGRID(Session["BRCD"].ToString(), Session["EntryDate"].ToString(), txtfdepositgl.Text); GrdInv.DataSource = dt; GrdInv.DataBind(); }
public void BindGrid() { try { DataTable dt = new DataTable(); dt = IC.bindMatureInv(Session["BRCD"].ToString(), txtFromDate.Text, txtToDate.Text); GrdInv.DataSource = dt; GrdInv.DataBind(); } catch (Exception Ex) { ExceptionLogging.SendErrorToText(Ex); } }