如何获取使用条形码扫描的数据 [英] how to get data that is scanned using bar code

查看:271
本文介绍了如何获取使用条形码扫描的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要获取使用条形码扫描的文本



但我需要在数据库中保存从条形码获得的编号

i need to get text that was scanned using barcode



but i need to save the number that got from barcode in database

推荐答案

您的条形码扫描仪应支持将条形码作为文本转储.这不是编程问题,它是硬件问题,请阅读扫描仪的手册.

但是我需要将从条形码获得的数字保存在数据库中"

好,那是一个不同的问题.这只是一个数字.以与其他任何字符串一样的方式进行存储(我怀疑它太长了,无法存储为数值)
Your barcode scanner should support dumping the barcode as text. This is not a programming question, it''s a hardware question, read the manual of your scanner.

"but i need to save the number that got from barcode in database "

OK, that''s a different question. It''s just a number. Store it the way you would any other string ( I suspect it''s too long to store as a numeric value )


这篇关于如何获取使用条形码扫描的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆