private void getAllAttraction()
    {
        //list the gridview from database
        List <Attraction> attractions = AttractionDB.getAllAttraction();

        gvAttraction.DataSource = attractions;
        gvAttraction.DataBind();
    }
    protected void gvAttraction_SelectedIndexChanged(object sender, EventArgs e)
    {
        List <Attraction> attractions = AttractionDB.getAllAttraction();
        Attraction        a           = attractions[gvAttraction.SelectedIndex];

        Session["emailA"]      = a;
        Session["attraction"]  = a.Name;
        Session["countryName"] = a.Country;
        Response.Redirect("AAdetails.aspx");
    }