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

                if (GridView2.Rows.Count > 0)

                {

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

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

                    goalk_per_pos.Text = "В лиге: " + GridView2.Rows[0].Cells[0].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;")

                    {

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

                    }

                    else

                    {

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

                    }

                }

                else

                {

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

                }

                GridView2 = new GridView();

            }

        }

        private void def_bomb()

        {

            if (table_def_bomb.Visible == true)

            {

                PowerPlayUserProvider.getReportOfPlayerByParams(team, "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_pos.Text = "В лиге: " + GridView2.Rows[0].Cells[0].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(team, "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_pos.Text = "В лиге: " + GridView2.Rows[0].Cells[0].Text;

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