private void mostrar() { this.datalistado.DataSource = NacfINBt_Inventariobienes.Mostrar("1"); lblTotal.Text = "Total de Registros: " + Convert.ToString(datalistado.Rows.Count); /* if (datalistado.Rows.Count == 0) * { * BotonesSinReg(false); * } * else * { * BotonesSinReg(true); * this.toolStripAgregar.Enabled = true; * * } * this.datalistado.Select(); * this.datalistado.Focus();*/ }
private void mostrar() { this.Configura(); this.Activo = 1; this.tomaTab(); this.Botones(true); this.dataListado.DataSource = NacfINBt_Inventariobienes.Mostrar("1"); lblTotal.Text = "Total de Registros: " + Convert.ToString(dataListado.Rows.Count); if (dataListado.Rows.Count == 0) { BotonesSinReg(false); } else { BotonesSinReg(true); this.toolStripAgregar.Enabled = true; } this.dataListado.Select(); this.dataListado.Focus(); }
private void PrevDataGRid(String iINVid) { this.datalistado.DataSource = NacfINBt_Inventariobienes.Mostrar(iINVid); }