Take the 2-minute tour ×

I'm not sure, is this possible or not? I want to scan barcode from within ASP.NET website. Anyone know how to do this?

share|improve this question
I would provide a file upload control and then do some barcode "OCR" on the server. –  Uwe Keim Sep 12 '11 at 7:58
check this out: sourceforge.net/projects/itextsharp –  Waqas Sep 12 '11 at 8:02

3 Answers 3

up vote 6 down vote accepted

You would need a scanner and the relevant software to interact with the scanner. Most hand held scanners simply output the text into whatever field is in focus, so this could be Notepad, Word, or even a textbox in your app.

Best approach is to find a scanner that suits your needs and then look into the Driver software it provides.

share|improve this answer

The simplest way would be to use Flash to gain access to a user's web cam and have them place the barcode infront of the camera. I'm sure Silverlight can do this as well.

No matter how you cut it, though, you're going to need to use some sort of third-party control, whether Flash/Silverlight, Java applet, or browser extension/addon.

An alternative would be to use a specific brand of barcode scanner whose software can insert the results into an arbitrary textbox.

share|improve this answer

ASP.NET returns data (typically html files), that the client interprets. It has no way of connecting to the scanner. Depending on your exact situation, you might be able to do this with javascript, or the scanner might directly have an option of sending to a webservice.

share|improve this answer

Your Answer


