Exemplo n.º 1
0
        protected void invite_Click(object sender, EventArgs e)
        {
            Matches match = new Matches();
            string  st    = match.sendMatchInvite("21", userid, matchid);

            //test.InnerText = match.sendMatchInvite();

            if (st == "good")
            {
                Response.Redirect("/FriendList.aspx?status=3&userid=" + userid + "&matchid=" + matchid + "&invited=yes");
            }
            else
            {
                Response.Redirect("/ErrorPage.aspx");
            }
        }