Spire.Barcode is a professional barcode library specially designed for .NET developers (C#, VB.NET, ASP.NET, .NET Core) and Java developers (J2SE and J2EE) to generate, read and scan 1D & 2D barcodes.

Mon Jul 13, 2015 10:29 am

There are various options to save the generated barcode. Which option would you say is the best, and why?
1. Save file as image (jpg, png, etc)
2. Save barcode image to SQL as binary value
3. Save barcode value to SQL as varchar value

Keep in mind, I also need to retrieve the barcode from wherever it has been saved, in order to print it.

What would be the best approach using the chosen method? I currently save the barcode value to SQL as varchar.

Thank you.

Hennie
 
Posts: 6
Joined: Mon Jun 08, 2015 2:06 pm

Tue Jul 14, 2015 3:03 am

Hello,

Thanks for your inquiry.
I think the first method is the best. Because it is the most convenient.
But if you have a lot of existing data. The third method is the best. Because its ability to conserve resources and time.

Best Regards,
Sweety

E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Tue Jul 14, 2015 7:23 am

Thank you Sweety1

I appreciate your speedy reply.

Hennie
 
Posts: 6
Joined: Mon Jun 08, 2015 2:06 pm

Tue Jul 14, 2015 7:54 am

Hello,

Please feel free to contact us, if you have any questions or needs. We are here for help.

Best Regards,
Sweety

E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Tue Jul 14, 2015 8:32 am

Thank you Sweety1

Do you guys perhaps have sample code of how to retrieve the value from DB and "assign" it to the image in a RDLC (Winform) report? It would make life easier for me. I can then just tweak and adjust the code to suit my needs.

Thanx

Hennie
 
Posts: 6
Joined: Mon Jun 08, 2015 2:06 pm

Wed Jul 15, 2015 9:38 am

Hello,

Thanks for your reply.
Sorry that we don't have it.

Best Regards,
Sweety

E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Mon Jul 20, 2015 6:33 pm

Thanx Sweety1

No worries.

Hennie
 
Posts: 6
Joined: Mon Jun 08, 2015 2:06 pm

Tue Jul 21, 2015 1:19 am

Hello,

Please feel free to contact us, if you have any questions or needs. We are here for help.

Best Regards,
Sweety

E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Return to Spire.BarCode