示例#1
0
 private void CargarListaProcedimientos(String _filtro)
 {
     try
     {
         int indice;
         foreach (var item in E.PRO_Get_Procedimiento(_filtro))
         {
             indice = dataGridListado.Rows.Add();
             dataGridListado.Rows[indice].Cells[(int)Col_Lista.ID].Value          = item.procedimiento_id;
             dataGridListado.Rows[indice].Cells[(int)Col_Lista.DESCRIPCION].Value = item.descripcion;
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }