Scanned value(using scanner) in the textbox
- by Geetha
Hi All,
I am using Scanner(basic model) to scan the barcode. Scanned barcode will be captured in a textbox. In txtBarcode_TextChanged event i am getting the barcode to access.
Problem:
If i clicked the scanner more than once, the barcode gets append with the previous value.
Code:
protected void txtBarcode_TextChanged(object sender, EventArgs e)
{
string txt = this.txtBarcode.Text;
this.txtBarcode.Text = string.Empty;
}