Создание веб-приложения, сочетающего в себе проектирование и создание баз данных, работу со сторонними форматами данных, программирование в NET и веб-разработку, страница 102

                PowerPlayUserProvider.getReportOfPlayerByParams(null, "p", "OD,DD", GridView2, "khl20122013_1");

                if (GridView2.Rows.Count > 0)

                {

                    def_bomb_name.Text = GridView2.Rows[0].Cells[1].Text;

                    def_bomb_ind.Text = "<a style=\"font-size:33px\">" + GridView2.Rows[0].Cells[6].Text + "</a>";

                    def_bomb_team.Text =PowerPlayUserProvider.getTeamByAbb(GridView2.Rows[0].Cells[2].Text);

                    PowerPlayUserProvider.getPlayerByNameOrAll(GridView2, GridView2.Rows[0].Cells[1].Text);

                    if (GridView2.Rows[0].Cells[5].Text != null && GridView2.Rows[0].Cells[5].Text != "" && GridView2.Rows[0].Cells[5].Text != "&nbsp;")

                    {

                        def_bomb_ava.Text = "<img id=\"def_bomb_photo\" src=\"" + GridView2.Rows[0].Cells[5].Text + "\" height=\"80px\" />";

                    }

                    else

                    {

                        def_bomb_ava.Text = "<img id=\"def_bomb_photo\" src=\"/img/players/default.jpg\" height=\"80px\" />";

                    }

                }

                else

                {

                    def_bomb_name.Text = "Игрок не найден";

                }

                GridView2 = new GridView();

            }

        }

        private void def_snip()

        {

            if (table_def_snip.Visible == true)

            {

                PowerPlayUserProvider.getReportOfPlayerByParams(null, "g", "OD,DD", GridView2, "khl20122013_1");

                if (GridView2.Rows.Count > 0)

                {

                    def_snip_name.Text = GridView2.Rows[0].Cells[1].Text;

                    def_snip_ind.Text = "<a style=\"font-size:33px\">" + GridView2.Rows[0].Cells[4].Text + "</a>";

                    def_snip_team.Text =PowerPlayUserProvider.getTeamByAbb(GridView2.Rows[0].Cells[2].Text);

                    PowerPlayUserProvider.getPlayerByNameOrAll(GridView2, GridView2.Rows[0].Cells[1].Text);

                    if (GridView2.Rows[0].Cells[5].Text != null && GridView2.Rows[0].Cells[5].Text != "" && GridView2.Rows[0].Cells[5].Text != "&nbsp;")

                    {

                        def_snip_ava.Text = "<img id=\"def_snip_photo\" src=\"" + GridView2.Rows[0].Cells[5].Text + "\" height=\"80px\" />";

                    }

                    else

                    {

                        def_snip_ava.Text = "<img id=\"def_snip_photo\" src=\"/img/players/default.jpg\" height=\"80px\" />";

                    }

                }

                else

                {

                    def_snip_name.Text = "Игрок не найден";

                }

                GridView2 = new GridView();

            }

        }

        private void plus_minus()

        {

            if (table_plus_minus.Visible == true)

            {

                PowerPlayUserProvider.getReportOfPlayerByParams(null, "pl_mn", "LW,RW,C,OD,DD", GridView2, "khl20122013_1");

                if (GridView2.Rows.Count > 0)

                {

                    plus_minus_name.Text = GridView2.Rows[0].Cells[1].Text;

                    if (Convert.ToInt32(GridView2.Rows[0].Cells[7].Text) >= 0)

                        plus_minus_ind.Text = "<a style=\"font-size:33px\">+" + GridView2.Rows[0].Cells[7].Text + "</a>";