Esempio n. 1
0
    protected void BindCustomerInformation(string CustNo)
    {
        DataTable dtCustInformation = partner.CustInformation(CustNo);

        if (dtCustInformation != null && dtCustInformation.Rows.Count > 0)
        {
            lblCustName.Text = dtCustInformation.Rows[0]["CustName"].ToString();
            lblAddress.Text  = dtCustInformation.Rows[0]["addrline1"].ToString();
            lblCity.Text     = dtCustInformation.Rows[0]["city"].ToString() + "," + dtCustInformation.Rows[0]["state"].ToString() + " " + dtCustInformation.Rows[0]["country"].ToString();
            lblPhone.Text    = dtCustInformation.Rows[0]["phoneno"].ToString();
        }
    }