Пример #1
0
        protected void DeletePlayer_Click(object sender, EventArgs e)
        {
            try
            {
                string        pName = DropDownListPlayers.SelectedItem.ToString();
                List <string> nList = client.DeletePlayer(pName).Split('*').ToList <string>();


                DropDownListPlayers.DataSource = nList;
                DropDownListPlayers.DataBind();
            }
            catch (Exception ex)
            {
                Panel2.Visible = false;
                Response.Write(ex.ToString());
            }
        }