Exemplo n.º 1
0
    private void terms()
    {
        if (Request.QueryString["inv"] != "" && Request.QueryString["inv"] != null)
        {
            bl.inv_no = Request.QueryString["inv"].ToString();
            int     i  = Convert.ToInt32(dl.slelct_vch_id_inv(bl));
            DataSet ds = new DataSet();
            bl.vch_id = i;
            ds        = dl.select_inv_trm_vch(bl);

            if (ds.Tables[0].Rows.Count > 0)
            {
                lbl_term_condition.Text = ds.Tables[0].Rows[0]["term_condition"].ToString();
                lbl_ecc_declartion.Text = ds.Tables[0].Rows[0]["e_declare"].ToString();
            }
        }
    }