Пример #1
0
 private void ExibirDados()
 {
     try
     {
         DataTable dt = new DataTable();
         dt = Colaboradores.GetColaboradores();
         dtgColaboradores.DataSource = dt;
     }
     catch (Exception ex)
     {
         MessageBox.Show("Erro : " + ex.Message);
     }
 }