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.
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.
yan weiPosted Feb 24, 2012, 2:56 AM
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.
Krishna GaradPosted Dec 28, 2011, 9:01 AM
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.
Anuja PawarPosted Dec 28, 2011, 8:10 AM
http://www.onbarcode.com/tutorial/csharp-barcode-generation.html
magesh manavalanPosted Dec 28, 2011, 5:55 AM
Krishna GaradPosted Dec 28, 2011, 2:29 AM
http://www.c-sharpcorner.com/uploadfile/krishnasarala/generating-barcode-in-C-Sharp/
Anuja PawarPosted Dec 28, 2011, 2:20 AM
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 :)