Hi dear if know anyone please help me.
How to Generate Bar Code in my web application project using Visual Studio 2005 with Sql Server.
Thanks&Regs
Manavalan
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Anuja PawarRank #1,404 · 1.2K reputationPosted Dec 27, 2011, 9:20 PM EST
Please refer this article
http://www.codeproject.com/KB/cpp/wsbarcode.aspx
and this thread
http://stackoverflow.com/questions/191192/recommend-an-open-source-net-barcode-reader-library
Hope it helps you :)
Krishna GaradRank #191 · 12.8K reputationPosted Dec 27, 2011, 9:29 PM EST
http://www.c-sharpcorner.com/uploadfile/krishnasarala/generating-barcode-in-C-Sharp/
magesh manavalanRank #6,279 · 271 reputationPosted Dec 28, 2011, 12:55 AM EST
Anuja PawarRank #1,404 · 1.2K reputationPosted Dec 28, 2011, 3:10 AM EST
http://www.onbarcode.com/tutorial/csharp-barcode-generation.html
Krishna GaradRank #191 · 12.8K reputationPosted Dec 28, 2011, 4:01 AM EST
Write method
private void GenerateBacode(string _data, string _filename)
{
Linear barcode = new Linear();
barcode.Type = BarcodeType.CODE11;
barcode.Data = _data;
barcode.drawBarcode(_filename);
}
It's asking for data on barcode which you want and the filename where to save.
put a textbox for accessing the data and provide file name logically like. Keep one button for generating and write the code like
button_Click
{
string _filename=Server.MapPath("~/Barcode/barfile.gif");
GenerateBarCode(TextBox1.Text,_filename);
}
it will store the genrated barcode on server in Barcode Folder with the file name barfile.gif .
Try it.
yan wei2 reputationPosted Feb 23, 2012, 9:56 PM EST
i've met some similar problems before, and i got some imformation on this page
http://www.pqscan.com/generate-barcode/winforms.html
it's super helpful.