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

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

                    {

                        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(team, "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>";

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

                    plus_minus_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;")

                    {

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

                    }

                    else

                    {

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

                    }

                }

                else

                {

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

                }

                GridView2 = new GridView();

            }

        }

        private void goalk_kf()

        {

            if (table_goalk_kf.Visible == true)

            {

                PowerPlayUserProvider.getReportOfGoalieByParams(team, "gaa", GridView2, "khl20122013_1");

                if (GridView2.Rows.Count > 0)

                {

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

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

                    goalk_kf_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_kf_ava.Text = "<img id=\"goalk_kf_photo\" src=\"" + GridView2.Rows[0].Cells[5].Text + "\" height=\"80px\" />";