示例#1
0
        private void loadDataGVInfo()
        {
            var data = PurBLL.PurchaseStatementLaod(0, 0, "", "");

            GvDueInfo.DataSource = data;
            GvDueInfo.DataBind();
        }
示例#2
0
        public void Search()
        {
            if (txtPurchaseInvoiceNo.Text == "" && ddlcompany.SelectedValue == "0" && txtDateTo.Text == "" && txtDateFrom.Text == "")
            {
                Show("Search By Valid Data");
                return;
            }
            else
            {
                int salid = 0;
                if (txtPurchaseInvoiceNo.Text.ToString() != "")
                {
                    salid = Convert.ToInt32(txtPurchaseInvoiceNo.Text);
                }
                else
                {
                    salid = 0;
                }



                var data = PurBLL.PurchaseStatementLaod(salid, Convert.ToInt16(ddlcompany.SelectedValue), txtDateFrom.Text.ToString(), txtDateTo.Text.ToString());
                GvDueInfo.DataSource = data;
                GvDueInfo.DataBind();

                if (GvDueInfo.Rows.Count <= 0)
                {
                    Show("No Data Found !");
                }
                return;
            }
        }
        private void loadDataGVInfo()
        {
            var data = PayDueBLL.CentralPurchase_Due_Payment(0, 0, 0, "", "", "");

            GvDueInfo.DataSource = data;
            GvDueInfo.DataBind();
        }
示例#4
0
        private void loadDataGVInfo()
        {
            var data = PurchseBLL.CentralPurchasePayment_Client_Load(0, 0, 0, "", "", "");

            GvDueInfo.DataSource = data;
            GvDueInfo.DataBind();
        }
示例#5
0
        public void Search()
        {
            if (txtSalesInvoiceNo.Text == "" && ddlBranchName.SelectedValue == "0" && txtDateTo.Text == "" && txtDateFrom.Text == "")
            {
                Show("Search By Valid Data");
                return;
            }
            else
            {
                int salid = 0;
                if (txtSalesInvoiceNo.Text.ToString() != "")
                {
                    salid = Convert.ToInt32(txtSalesInvoiceNo.Text);
                }
                else
                {
                    salid = 0;
                }



                var data = SalBLL.BranchWise_SalesInfoLaod(salid, Convert.ToInt16(ddlBranchName.SelectedValue), txtDateFrom.Text.ToString(), txtDateTo.Text.ToString());
                GvDueInfo.DataSource = data;
                GvDueInfo.DataBind();

                if (GvDueInfo.Rows.Count <= 0)
                {
                    Show("No Data Found !");
                }
                return;
            }
        }
        private void loadDataGvDueInfo(int payid, int paymentdtlid, int Compid, string SalesManName)
        {
            var data = PayDueBLL.GetPyurchaseDueDtalil(payid, paymentdtlid, Compid, SalesManName);

            GvDueInfo.DataSource = data;
            GvDueInfo.DataBind();
        }
示例#7
0
        private void loadDataGVDueInfo(int payid, int Compid, string SalesManName)
        {
            var data = DBLL.GetPurchaseDue(0, Convert.ToInt32(ddlCompanyName.SelectedValue), txtSalesManName.Text.ToString());

            GvDueInfo.DataSource = data;
            GvDueInfo.DataBind();
        }
示例#8
0
        private void loadDataGVInfo()
        {
            var data = SalBLL.BranchWise_SalesInfoLaod(0, 0, "", "");

            GvDueInfo.DataSource = data;
            GvDueInfo.DataBind();
            LoadRowdata();
        }
        public void loadDataGVInfo()
        {
            var data = SalBLL.BranchWise_SalesInfoLaod(0, Convert.ToInt32(HFBranceId.Value), "", "");

            GvDueInfo.DataSource = data;
            GvDueInfo.DataBind();

            LoadRowdata(data.Count());
        }
示例#10
0
        protected void txtCompIdS_TextChanged(object sender, EventArgs e)
        {
            try
            // Convert.ToInt32(e.CommandArgument.ToString())
            {
                var bb = DBLL.GetPurchaseDue(0, 0, txtSalesManName.Text.ToString());
                GvDueInfo.DataSource = bb;
                GvDueInfo.DataBind();

                HFPaymentID.Value = "";
                HFPurID.Value     = "";
            }
            catch { }
        }
示例#11
0
        public void ClearControlPurchase()
        {
            this.ViewState["CurrentData"] = null;
            DataTable dt = new DataTable();

            GvDueInfo.DataSource = dt;
            GvDueInfo.DataBind();

            rdoPayment.SelectedIndex = 0;
            pnlBank.Visible          = true;
            PnlCash.Visible          = false;
            txtPaidAmoun.Text        = "";
            txtDueAmount.Text        = "";
            txtTotalPayable.Text     = "";
            txtNote.Text             = "";
        }
示例#12
0
        public void SearchPurchase()
        {
            if (txtPurchaseInvoiceNO.Text == "" && txtOrderNO.Text == "" && ddlCompanyName.SelectedValue == "0" && txtSalesManName.Text == "" && txtDateTo.Text == "" && txtDateFrom.Text == "")
            {
                Show("Search By Valid Data");
                return;
            }
            else
            {
                int pid = 0;
                if (txtPurchaseInvoiceNO.Text.ToString() != "")
                {
                    pid = Convert.ToInt32(txtPurchaseInvoiceNO.Text);
                }
                else
                {
                    pid = 0;
                }

                int orid = 0;
                if (txtOrderNO.Text.ToString() != "")
                {
                    orid = Convert.ToInt32(txtOrderNO.Text);
                }
                else
                {
                    orid = 0;
                }

                var data = PurchseBLL.CentralPurchasePayment_Client_Load(pid, orid, Convert.ToInt16(ddlCompanyName.SelectedValue), txtSalesManName.Text.ToString(), txtDateFrom.Text.ToString(), txtDateTo.Text.ToString());
                GvDueInfo.DataSource = data;
                GvDueInfo.DataBind();

                if (GvDueInfo.Rows.Count <= 0)
                {
                    Show("No Data Found !");
                }
                return;
            }
        }
        protected void Search()
        {
            if (txtSalesInvoiceNo.Text == "" && txtDateTo.Text == "" && txtDateFrom.Text == "")
            {
                Show("Search By Valid Data");
                return;
            }
            else
            {
                int salid = 0;
                if (txtSalesInvoiceNo.Text.ToString() != "")
                {
                    salid = Convert.ToInt32(txtSalesInvoiceNo.Text);
                }
                else
                {
                    salid = 0;
                }



                var data = SalBLL.BranchWise_SalesInfoLaod(salid, Convert.ToInt16(HFBranceId.Value), txtDateFrom.Text.ToString(), txtDateTo.Text.ToString());

                if (data.Count == 0)
                {
                    Show("No Data Found !");
                    return;
                }
                else
                {
                    GvDueInfo.DataSource = data;
                    GvDueInfo.DataBind();
                    int cnt = data.Count();
                    LoadRowdata(cnt);
                }
            }
        }