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 AccountData = procedure.getAccountInfo(accountid); lblAccountName.Text = AccountData.Tables[0].Rows[0]["FirstName"].ToString() + " " + AccountData.Tables[0].Rows[0]["LastName"].ToString(); } }