protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e) { var id = int.Parse(e.CommandArgument.ToString()); switch (e.CommandName) { case "Remove": _bll.RemoveOrganization(id); bindList(); break; } }