コード例 #1
0
        protected void GoBtn_Click(object sender, EventArgs e)
        {
            ServiceRef.LiveScoreServiceClient client = new ServiceRef.LiveScoreServiceClient("BasicHttpBinding_ILiveScoreService");
            //Update Bowler
            Session["bowler"] = Int32.Parse(ddlfbowl.SelectedValue);

            int matchid = (int)Session["matchid"];

            //Update Innings and Inning Comment
            client.updateInning(2, matchid);
            string incom = tainncom.Text;

            client.updateInningComm(incom, matchid);
            client.deleteComm();
            Response.Redirect("scoreboard.aspx");
        }