protected void EndBtn_Click(object sender, EventArgs e)
        {
            int      winteamid = Int32.Parse(ddlwinteam.SelectedValue);
            int      matchid   = (int)Session["matchid"];
            string   endcom    = taendcom.Text;
            DateTime endtime   = DateTime.Now;

            ServiceRef.LiveScoreServiceClient client = new ServiceRef.LiveScoreServiceClient("BasicHttpBinding_ILiveScoreService");
            client.updateWinner(winteamid, matchid);
            client.updateEndComm(endcom, matchid);
            client.updateEndTime(endtime, matchid);
            client.deleteComm();
            Response.Redirect("scorecard.aspx");
        }