예제 #1
0
        private int HayProximoVencer(string centro)
        {
            int resultado = 0;

            resultado = ProductoLog.HayProximoVencer(centro);
            //lblTotal.Text = "Total de registros " + Convert.ToString(dataVencer.Rows.Count);
            return(resultado);
        }
예제 #2
0
 private void MostrarInactivos()
 {
     //this.OcultarColumnas();
     this.dtInactivo.DataSource = ProductoLog.MostrarInactivos();
     lblTotal.Text = "Total de registros " + Convert.ToString(dtInactivo.Rows.Count);
 }
예제 #3
0
 private void Mostrar(string centro)
 {
     //this.OcultarColumnas();
     this.dataListado.DataSource = ProductoLog.Mostrar(centro);
     lblTotal.Text = "Total de registros " + Convert.ToString(dataListado.Rows.Count);
 }
예제 #4
0
 private void cargarCategoria()
 {
     comboBox2.DisplayMember = "nombre";
     comboBox2.ValueMember   = "id";
     comboBox2.DataSource    = ProductoLog.CargarCategoria();
 }
예제 #5
0
 private void cargarLaboratorio()
 {
     comboBox1.DisplayMember = "laboratorio";
     comboBox1.ValueMember   = "id";
     comboBox1.DataSource    = ProductoLog.CargarLaboratorio();
 }
예제 #6
0
 private void ProximoVencer(string centro)
 {
     //this.OcultarColumnas();
     this.dataVencer.DataSource = ProductoLog.ProximoVencer(centro);
     lblTotal.Text = "Total de registros " + Convert.ToString(dataVencer.Rows.Count);
 }