private void refreshPendingData() { lstPending.DataSource = null; lstPending.DataSource = Does.GetPending(); lstPending.DisplayMember = "Task"; lblPending.Text = lstPending.Items.Count + " tareas pendientes"; }