Hi
How we can create QR code . I want to display Item Code , Description , Expiry Date , Batch No , Quantity.
Thanks
Hi
How we can create QR code . I want to display Item Code , Description , Expiry Date , Batch No , Quantity.
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ramco RamcoPosted Jan 25, 2024, 4:18 AM
Hi Naimish
In below code i am getting error
QRCodeData is an ambiguous reference between QrCoder.qrCodeData and SapBobsCom.qrCodeData
Thanks
Naimish MakwanaPosted Jan 23, 2024, 8:13 AM
To create a QR code in .NET C# that includes Item Code, Description, Expiry Date, Batch No, and Quantity, you can use a QR code library such as
QRCoder. Here’s a simple example of how you can do this:In this code, we first define the data we want to encode in the QR code. We then create a
QRCodeGeneratorobject and use it to createQRCodeDatafrom our data string. We then create aQRCodeobject from theQRCodeData, and finally, we generate aBitmapimage from theQRCodeand save it as a PNG file.Please note that you’ll need to install the
QRCoderlibrary in your project. You can do this via NuGet Package Manager in Visual Studio.Thanks
Jayraj ChhayaPosted Jan 23, 2024, 7:57 AM
To create a QR code in Dot Net that displays item code, description, expiry date, batch number, and quantity, you can use a library called "QRCoder." This library allows you to generate QR codes easily and efficiently.
GenerateQRCodemethod and pass in the data you want to encode:qrCodeImagebitmap to display or save the QR code as needed.Remember to handle any exceptions that may occur during the QR code generation process and customize the code according to your specific requirements.
By following these steps, you'll be able to create a QR code in Dot Net that displays the desired information.
Leon DPosted Jan 23, 2024, 2:17 AM
You can use Free Spire.Barcode to easily generate QR code.
https://www.e-iceblue.com/Download/download-barcode-for-net-now.html
Here is the article for your reference:
https://www.c-sharpcorner.com/UploadFile/38268a/generating-qr-code-in-C-Sharp/
Rajanikant HawaldarPosted Jan 22, 2024, 5:15 PM
https://www.c-sharpcorner.com/article/creating-qrcode-in-asp-net-core/
https://www.c-sharpcorner.com/blogs/how-to-generate-qr-code-using-asp-net