Пример #1
0
        private void btnUpdate_Click(object sender, EventArgs e)
        {
            Team team = blTeam.Get(Id);

            //team.Id = Guid.Parse(txtId.Text);
            team.TeamName = txtTeamName.Text.Trim();
            team.LevelId  = Guid.Parse(cboLevel.SelectedValue.ToString());

            blTeam.Update(team);
            this.Close();
        }