Ejemplo n.º 1
0
 //metodo BuscarFechas
 private void BuscarFechas()
 {
     this.dtgvListado.DataSource = NVenta.BuscarFecha(this.dtFecha1.Value.ToString("MM/dd/yyyy"),
                                                      this.dtFecha2.Value.ToString("MM/dd/yyyy"));
     this.OcultarColumnas();
     lblTotal.Text = "Total Registros: " + Convert.ToString(dtgvListado.Rows.Count);
 }
Ejemplo n.º 2
0
 //Metodo buscar nombre
 private void BuscarFecha()
 {
     this.dataListado.DataSource = NVenta.BuscarFecha(this.dtFechaInicio.Value, this.dtFechaFin.Value);
     //this.OcultarColumnas();
     Listado.Text = "Total de registros: " + Convert.ToString(dataListado.Rows.Count);
     //this.dataListado.Columns[0].Visible = true;
 }
Ejemplo n.º 3
0
 //Metod buscar fechas
 private void BuscarFecha()
 {
     this.dataListado.DataSource = NVenta.BuscarFecha(this.dtFecha_inicio.Value.ToString("dd/MM/yyyy"), this.dtFecha_fin.Value.ToString("dd/MM/yyyy"));
     this.OcultarColumnas();
     lblTotal.Text = "Total de registros:" + Convert.ToString(dataListado.Rows.Count);
 }