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

                    }

                    else

                    {

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

                    }

                }

                else

                {

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

                }

                GridView2 = new GridView();

            }

        }

        private void game_prev()

        {

            if (table_prev_game.Visible == true)

            {

                PowerPlayUserProvider.getPrevGamesForTeam(GridView2, team, "khl20122013_1");

                if (GridView2.Rows.Count > 0)

                {

                    game_prev_date.Text = GridView2.Rows[0].Cells[36].Text;

                    if (Convert.ToInt32(GridView2.Rows[0].Cells[6].Text) == 1)

                    {

                        game_prev_issue.Text = "Выигрыш";

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

                    }

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

                    {

                        game_prev_issue.Text = "Выигрыш ОТ";

                        game_prev_tab.Text = "<a style=\"font-size:33px\">" + GridView2.Rows[0].Cells[13].Text + "-" + GridView2.Rows[0].Cells[14].Text + " ОТ" + "</a>";

                    }

                    else if (Convert.ToInt32(GridView2.Rows[0].Cells[8].Text) == 1)

                    {

                        game_prev_issue.Text = "Выигрыш ШБ";

                        game_prev_tab.Text = GridView2.Rows[0].Cells[13].Text + "-" + GridView2.Rows[0].Cells[14].Text + " ШБ";

                    }

                    else if (Convert.ToInt32(GridView2.Rows[0].Cells[9].Text) == 1)

                    {

                        game_prev_issue.Text = "Поражение ШБ";

                        game_prev_tab.Text = GridView2.Rows[0].Cells[13].Text + "-" + GridView2.Rows[0].Cells[14].Text + " ШБ";

                    }

                    else if (Convert.ToInt32(GridView2.Rows[0].Cells[10].Text) == 1)

                    {

                        game_prev_issue.Text = "Поражение ОТ";

                        game_prev_tab.Text = GridView2.Rows[0].Cells[13].Text + "-" + GridView2.Rows[0].Cells[14].Text + " ОТ";

                    }

                    else if (Convert.ToInt32(GridView2.Rows[0].Cells[11].Text) == 1)

                    {

                        game_prev_issue.Text = "Поражение";

                        game_prev_tab.Text = GridView2.Rows[0].Cells[13].Text + "-" + GridView2.Rows[0].Cells[14].Text;

                    }

                    if (Convert.ToInt32(GridView2.Rows[0].Cells[4].Text) < 0)

                    {

                        game_prev_ratingppl.Text = "Рейтинг PPL: -" + GridView2.Rows[0].Cells[4].Text;

                    }

                    else

                    {

                        game_prev_ratingppl.Text = "Рейтинг PPL: +" + GridView2.Rows[0].Cells[4].Text;

                    }

                    if (Convert.ToInt32(GridView2.Rows[0].Cells[5].Text) < 0)

                    {

                        game_prev_reputation.Text = "Репутация: -" + GridView2.Rows[0].Cells[5].Text;

                    }

                    else

                    {

                        game_prev_reputation.Text = "Репутация: +" + GridView2.Rows[0].Cells[5].Text;