Beispiel #1
0
        private void LoadData(string InvoiceNo)
        {
            string SupplierID = Request.QueryString["SupplierID"];

            Category = Request.QueryString["InvoiceType"].ToString();
            if (Category == "INV")
            {
                lbldate.Text   = "Invoice Date";
                lblstatus.Text = "Invoice Status";
                lblType.Text   = "Invoice No";
            }
            else
            {
                lbldate.Text   = "Invoice Date";
                lblstatus.Text = "Invoice Status";
                lblType.Text   = "Invoice No";
            }
            lblinvoicedate.Text   = Request.QueryString["Date"].ToString();
            lblinvoicestatus.Text = Request.QueryString["Status"].ToString();
            lblinvoicetype.Text   = Category;
            lblsupplier.Text      = objinvoice.GetSupplierName(Convert.ToInt32(Session["oInvoiceID"]), Category);
            lblvatcode.Text       = objinvoice.GetVatCode(Convert.ToInt32(Request.QueryString["InvoiceID"].ToString()), Category);
            lblAPCompanyID.Text   = objinvoice.GetAPCompanyID(Convert.ToInt32(Request.QueryString["InvoiceID"].ToString()), Category);
        }