protected void txtCodigo_TextChanged(object sender, EventArgs e) { if (txtCodigo.Text != "") { if (ic.insertInventario(txtCodigo.Text.Replace("-", ""), Convert.ToInt32(Label7.Text)) > 0) { lblTabla.Text = ic.tablaInventario(Convert.ToInt32(Label7.Text)); } txtCodigo.Text = ""; txtCodigo.Focus(); } //Label7.Text }