コード例 #1
0
    //to accept the attraction information details (update verification from false to true) -- user can show the attraction information into public website
    protected void btnAccept_Click(object sender, EventArgs e)
    {
        Hotel a = (Hotel)Session["emailH"];

        a.Verification    = true;
        Session["emailH"] = a;
        int row = HotelDB.updateHotelVerify(a); //to update the row into database
    }