Example #1
0
        public void Mostrar()
        {
            string fechaInicio = dtpFechaInicio.Value.ToString("yyyy-MM-dd");
            string fechaFin    = dtpFechaFin.Value.ToString("yyyy-MM-dd");

            this.dataListado.DataSource = NCompra.Mostrar(Convert.ToDateTime(fechaInicio + " 00:00:00"), Convert.ToDateTime(fechaFin + " 23:59:59"));
            this.lblTotal.Text          = "Total de Registros: " + this.dataListado.Rows.Count;
            this.dataListado.ClearSelection();
        }
Example #2
0
 private void Mostrar()
 {
     this.DataListado.DataSource = NCompra.Mostrar();
     this.OcultarColumnas();
     this.DiseñoColumnas();
 }