helloo,
I want to make a C# application that reads barcode from a scanner and then I want to know how to translate this barcode to the price of the item.
Does any body know?
Best regards.

The good news is that if you're using a hardware scanner, the hard part is already done: the scanner will recognize and translate the contents of the barcode into a string.

The bad news is that barcodes don't typically contain the price of an item, they use an UPC/EPC encoding such that the item can be looked up in a database. Once you have the product code from your scanner, you'll need to do a search of prices from retailers for that product code (because they'll use different prices). Or if you're writing code for a specific retailer, simply query the internal product database for that product code to get the current price information.

can u please support me with a sample program ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.