public void Bind()
    {
        string   from     = txtFromDate.Text.Split('/')[1] + "/" + txtFromDate.Text.Split('/')[0] + "/" + txtFromDate.Text.Split('/')[2];
        string   To       = txtToDate.Text.Split('/')[1] + "/" + txtToDate.Text.Split('/')[0] + "/" + txtToDate.Text.Split('/')[2];
        DateTime FromDate = Convert.ToDateTime(from);
        DateTime ToDate   = Convert.ToDateTime(To);

        //Session["CnFID"].ToString()
        Grdstockreport.DataSource = objBal.IDV_Chetana_REP_Physical_STOCK_Cnf("18", FromDate, ToDate, Convert.ToInt32(strFY), "").Tables[0];
        Grdstockreport.DataBind();
    }
示例#2
0
    public void Bind()
    {
        string   from     = txtFromDate.Text.Split('/')[1] + "/" + txtFromDate.Text.Split('/')[0] + "/" + txtFromDate.Text.Split('/')[2];
        string   To       = txtToDate.Text.Split('/')[1] + "/" + txtToDate.Text.Split('/')[0] + "/" + txtToDate.Text.Split('/')[2];
        DateTime FromDate = Convert.ToDateTime(from);
        DateTime ToDate   = Convert.ToDateTime(To);

        Grdstockreport.DataSource = DCMaster.REP_Physical_STOCK("gdvgd", FromDate, ToDate, Convert.ToInt32(strFY)).Tables[0];
        Grdstockreport.DataBind();

        lblTotalBooksInGodown.Text = DCMaster.REP_Physical_STOCK("gdvgd", FromDate, ToDate, Convert.ToInt32(strFY)).Tables[1].Rows[0][0].ToString();
    }