hi,
Add a page(eg. barcode.aspx) ,
write this in code behind(barcode.aspx.vb) in page load,
have to download iTextsharp.dll
and use this namespace
Imports iTextSharp.text.pdf
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim bc128 As New Barcode128()
bc128.Code ="1234"
Dim bc As System.Drawing.Image = bc128.CreateDrawingImage(System.Drawing.Color.Black, System.Drawing.Color.White)
Response.ContentType = "image/gif"
bc.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Gif)
End Sub
in another page where u want bar code,
just place image control. pass image url to already written page.
Image1.ImageUrl = "BarCode.aspx"
now u can get ur barcode in the image control
regards,
pal