I use scanner for read data in barcode. I only do when i read data by scanner it enter in textbox but when length of character 16 & 15 in data which enter in textbox are automatically store in database. Is possible it done by textbox_changed event? Give me other option.
AutoPostBack="True"
TextBox
protected void txtBox1_TextChanged(object sender, EventArgs e) { if (txtBox1.Text.Length==15 || txtBox1.text.Length==16) { //do your algorithm here } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)