//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); }
//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; }
//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); }