SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Development Tools
 ASP.NET
 Generate Code 128 in ASP.NET
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic Next Topic  

sharleneM
Starting Member

3 Posts

Posted - 12/13/2012 :  04:49:22  Show Profile  Reply with Quote
I want to generate Code 128 in ASP.NET. But I know nothing about generaing barcode in ASP.NET. Anyone know something about it?

francis9
Starting Member

1 Posts

Posted - 12/13/2012 :  22:26:40  Show Profile  Reply with Quote
I google this question and on the first page I found these professional passages:
http://www.onbarcode.com/asp_net/code-128-generator.html br /
http://www.codeproject.com/Articles/14409/GenCode128-A-Code128-Barcode-Generator br /
Go to Top of Page

AlexCarter87
Starting Member

1 Posts

Posted - 01/09/2013 :  09:33:50  Show Profile  Reply with Quote
I generate codes with Ozeki NG SMS gateway using ASP.
Not very easy but I can give you a code I also used when I started.


<form id="smsdata" runat="server">
    <asp:Table id="smstable" runat="server" style="text-align:left; border-width:thin;
      border-color:Silver;" BorderStyle="Solid">
        <asp:TableRow>
            <asp:TableCell ColumnSpan="2">
                 <b>Compose a message:</b>
                 <br />
                 <br />
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell HorizontalAlign="Left" VerticalAlign="Top">
                 <asp:Label ID="labelRecipient" runat="server" Text="Recipient: ">
                 </asp:Label>
            </asp:TableCell>
            <asp:TableCell>
                 <asp:TextBox ID="textboxRecipient" runat="server">
                 </asp:TextBox>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell HorizontalAlign="Left" VerticalAlign="Top">
                 <asp:Label ID="labelMessage" runat="server" Text="Message Text: ">
                 </asp:Label>
        </asp:TableCell>
            <asp:TableCell>
                 <asp:TextBox ID="textboxMessage" runat="server" TextMode="MultiLine">
                 </asp:TextBox>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell ColumnSpan="2" HorizontalAlign="Center">
                <asp:Button ID="buttonSend" runat="server" Text="Send Message"
                  OnClick="buttonSendOnClick" />
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell ColumnSpan="2" HorizontalAlign="Center">
                <asp:TextBox ID="textboxError" runat="server" BorderStyle="None"
                  TextMode="MultiLine"></asp:TextBox>
            </asp:TableCell>
        </asp:TableRow>
    </asp:Table>
</form>


Hope it helps.

regards
Go to Top of Page

qrcodenet
Starting Member

4 Posts

Posted - 01/29/2013 :  22:20:04  Show Profile  Reply with Quote
To insert Code 128 in ASP.NET, you need barcode generating control supports web applications.

Here is some sample codes for printing:

using TarCode.Barcode.Control;

Linear barcode = new Linear();
barcode.BarcodeType = LinearBarcode.Code128;
barcode.Valid_Data = "www.tarcode.com";
barcode.Width_X = 1;
barcode.Height_Y = 50;
barcode.drawToFile("d://code128.png");

Details, you may refer to the tutorial: http://www.tarcode.com/barcode-aspnet/barcodes/code128.html

bar code generation DLL
Go to Top of Page

lailac88
Starting Member

2 Posts

Posted - 02/06/2013 :  01:02:15  Show Profile  Reply with Quote
Generate Code 128 into Your ASP.NET Web Forms Using ASP.NET Barcode Web ControlTop
1.Install ASP.NET Barcode Generator Control.
2.Add ASP.NET Barcode Generator Control to your Visual Studio ToolBox.
3.Copy "linear.aspx" and "linear.aspx.cs" to the folder where your aspx pages are generating barcodes.
4.Drag and drop "LinearWebForm" to your ASPX web forms.
5.Run the website to view the barcodes generated. To customize Code 128 settings, view Code 128 barcode settings.
Go to Top of Page

caryflores
Starting Member

1 Posts

Posted - 02/18/2013 :  22:18:26  Show Profile  Reply with Quote
Thanks for AlexCarter87's sharing.
If it is not enough for you to complete your job, you can read this article

http://www.devasp.net/net/articles/display/742.html

http://www.barcodelib.com/vb_net/barcode_symbologies/code128.html

It offers free sample codes to generate barcode in VB.NET.

Edited by - caryflores on 02/18/2013 22:19:48
Go to Top of Page

Thomassunshine
Starting Member

5 Posts

Posted - 02/22/2013 :  01:23:04  Show Profile  Reply with Quote
I am using the Barcode Generator for ASP.NET to create barcode , including QR Code, Data Matrix, PDF-417, Code 39, Code 128, EAN 8, EAN 13, GS1 128, Intelligent Mail, ITF-14, and UPC-A, in accordance with the established barcode specifications.
More details, you can find http://www.businessrefinery.com/products/barcode_asp_net/aspnet_barcode_generator.html
Go to Top of Page

arronlee
Starting Member

USA
3 Posts

Posted - 04/22/2013 :  05:54:55  Show Profile  Reply with Quote
of course you need ask help for some professional tools to help you.
i'd like to share my experience about generaing barcode with the help of Yiigo .NET Barcode Plugin.
http://www.yiigo.com/net-document-image-plugin/barcode-plugin/
it is pretty fast and accurate.

Edited by - arronlee on 04/22/2013 05:59:25
Go to Top of Page
   Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000