Beispiel #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            DBConnect    objDB     = new DBConnect();
            dbProcedures procedure = new dbProcedures();

            if (Request.QueryString["ID"] != null)
            {
                int accountid = int.Parse(Request.QueryString["ID"]);
                imgprofileImage.ImageUrl = "profileImageGrab.aspx?ID=" + accountid;

                DataSet userData = procedure.getcustomerinfo(accountid);
                lblCustomerName.Text = userData.Tables[0].Rows[0]["Customer_FirstName"].ToString() + " " + userData.Tables[0].Rows[0]["Customer_LastName"].ToString();
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.QueryString["ID"] != null)
            {
                int     accountid = int.Parse(Request.QueryString["ID"]);
                DataSet userData  = procedure.getcustomerinfo(accountid);

                //Tables[0].Rows[0]["Verification"].ToString();

                lblPrintFname.Text = userData.Tables[0].Rows[0]["Customer_FirstName"].ToString();
                lblPrintLname.Text = userData.Tables[0].Rows[0]["Customer_LastName"].ToString();
                lblPrintEmail.Text = userData.Tables[0].Rows[0]["Email"].ToString();
                lblPrintPhone.Text = userData.Tables[0].Rows[0]["PhoneNumber"].ToString();
            }
            else
            {
            }
        }
Beispiel #3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.QueryString["ID"] != null)
            {
                int     accountid = int.Parse(Request.QueryString["ID"]);
                DataSet userData  = procedure.getcustomerinfo(accountid);

                //Tables[0].Rows[0]["Verification"].ToString();

                lblPrintFname.Text = userData.Tables[0].Rows[0]["Customer_FirstName"].ToString();
                lblPrintLname.Text = userData.Tables[0].Rows[0]["Customer_LastName"].ToString();
                lblPrintEmail.Text = userData.Tables[0].Rows[0]["Email"].ToString();
                lblPrintPhone.Text = userData.Tables[0].Rows[0]["PhoneNumber"].ToString();
            }
            else
            {
                Response.Write("<script>alert('Invalid page request. Please go to inkmap.com to get started.')</script>");
            }
        }