在 sql server 2005 中存储条形码值/图像

发布于 2024-08-19 21:24:32 字数 290 浏览 1 评论 0原文

我的网络应用程序使用条形码...当我添加一个新项目时,我生成一个条形码值,该值将转换为条形码图像...我的问题

  • 您建议在 sql server 中存储条形码值或条形码图像什么2005?

  • 您会建议哪一个?

编辑:

  • 您建议在 ASP.NET 应用程序中使用什么类型的条形码?

线性条形码(代码 128)是我的选择..任何其他建议....

One my web application uses barcodes.... When i add a new item i am generating a barcode value which is converted to a barcode image... My question

  • What would you suggest storing barcode values or barcode images in sql server 2005?

  • Which one would you suggest?

EDIT:

  • What Type of barcode you would suggest using with an asp.net application?

Linear Barcode (Code 128) is my choice.. Any other suggestion....

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

素手挽清风 2024-08-26 21:24:32

在不知道您的具体要求的情况下,我只会存储该值,特别是如果您可以在以后从相应的值“重新生成”图像(您的短语“我正在生成一个条形码值,该值将转换为条形码图像”似乎是建议您可以重复该生成过程,但我很可能是错的)。从图像中获取定性信息大概需要某种 OCR 过程。

Without knowing your specific requirements, I would store just the value, especially if you can "regenerate" the image from the corresponding value at a later date (your phrase "i am generating a barcode value which is converted to a barcode image" seems to suggest that you can repeat that generation process, but I could well be wrong). Getting qualitative information from an image will require some of sort of OCR process, presumably.

寻找我们的幸福 2024-08-26 21:24:32

我可能会建议存储该值,因为那只是一系列字符,对吗? (数字/字母)。但如果您确实需要能够再次重现条形码图像,您可能希望将图像存储在二进制字段中。

I would probably suggest storing the value, since that is only a series of characters, right? (numbers/letters). But if you really need to be able to reproduce the barcode image again, you might want to store the image in e.g. a binary field.

谁的年少不轻狂 2024-08-26 21:24:32

最好存储条形码的实际编号,因为条形码图像是根据该编号生成的,存储图像没有意义,因为这会使二进制图像使数据库膨胀。

有一个出色的条形码生成程序,可以为所有类型的条形码生成图像,可以在 代码项目

希望这有帮助,
此致,
汤姆.

It would be best to store the actual number of the barcode, as the barcode image is generated from the number, no point in storing the image as that will bloat up the database with binary images.

There is an excellent barcode generation program that can generate images for all types of barcodes and can be found here on CodeProject.

Hope this helps,
Best regards,
Tom.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文