コード例 #1
0
 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);
         }
     }
 }
コード例 #2
0
    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();
    }
コード例 #3
0
 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);
     }
 }