Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 Generate Code 128 in ASP.NET

Author  Topic 

sharleneM
Starting Member

3 Posts

Posted - 2012-12-13 : 04:49:22
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 Post

Posted - 2012-12-13 : 22:26:40
I google this question and on the first page I found these professional passages:
unspammed
[url]http://www.codeproject.com/Articles/14409/GenCode128-A-Code128-Barcode-Generator
[/url]
Go to Top of Page

AlexCarter87
Starting Member

1 Post

Posted - 2013-01-09 : 09:33:50
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 - 2013-01-29 : 22:20:04
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 = "unspammed";
barcode.Width_X = 1;
barcode.Height_Y = 50;
barcode.drawToFile("d://code128.png");

Details, you may refer to the tutorial: unspammed

bar code generation DLL
Go to Top of Page

lailac88
Starting Member

2 Posts

Posted - 2013-02-06 : 01:02:15
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 Post

Posted - 2013-02-18 : 22:18:26
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

unspammed

It offers free sample codes to generate barcode in VB.NET.
Go to Top of Page

Thomassunshine
Starting Member

5 Posts

Posted - 2013-02-22 : 01:23:04
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 unspammed
Go to Top of Page

arronlee
Starting Member

12 Posts

Posted - 2013-04-22 : 05:54:55
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 unspammed
it is pretty fast and accurate.
Go to Top of Page

abbyyy
Starting Member

9 Posts

Posted - 2013-06-17 : 00:12:50
Hi here is a detailed tutorial of unspammed that I googled. It's really useful for starters.
Go to Top of Page

recthor
Starting Member

2 Posts

Posted - 2013-06-18 : 04:56:04
i suggest you to refer to some inspiring articles or tutorials about generating 128 code ,
unspammed
besides, as for what is 128 code or how to generate 128 code in asp. you can ask wiki anwsers. i can share with you a barcode generator which can be applied in c# and other formats, you can have a try.
unspammed
Go to Top of Page

cindy313
Starting Member

7 Posts

Posted - 2013-07-18 : 04:11:40
you may try this.it tells you the detailed information about how unspammed
Go to Top of Page

robvolk
Most Valuable Yak

15732 Posts

Posted - 2013-07-18 : 06:37:29
Reviewed thread, removed links to commercial products. Locking thread as it only seems to draw more links.
Go to Top of Page
   

- Advertisement -