예제 #1
0
 private void llenaCampanasConcurso()
 {
     dttCampanas = ConvertToDataTable(ServicioGeneral.getCampanasAsignadasConcursoVentas(clsConnection.intCodigoConcursoVentas));
     {
         var withBlock = dtgCampanaAsinada;
         withBlock.DataSource = dttCampanas;
     }
     for (var t = 0; t <= dtgCampanaAsinada.Rows.Count - 1; t++)
     {
         dtgCampanaAsinada.Rows[t].Cells["CODIGO"].ReadOnly = true;
         dtgCampanaAsinada.Rows[t].Cells["NOMBRE"].ReadOnly = true;
     }
 }