Postnet Barcode In Rdlc

  • how to generate Postnet Barcode in RDLC Webform based on Zipcode

  • The biggest issue is that you'll have to get (aka purchase) the PostNet barcode font, and install in on the appropriate computers. sounds like the web server, possibly the end-users workstations. And, of course, your development computer.

    The second thing is that the data will have to be in the proper format. If memory serves me, it is Zip5+4+2 with periods surrounding this data.

    Wayne
    Microsoft Certified Master: SQL Server 2008
    Author - SQL Server T-SQL Recipes


    If you can't explain to another person how the code that you're copying from the internet works, then DON'T USE IT on a production system! After all, you will be the one supporting it!
    Links:
    For better assistance in answering your questions
    Performance Problems
    Common date/time routines
    Understanding and Using APPLY Part 1 & Part 2

  • Normally, it is possible to create Postnet barcode in RDLC report by integrating a .net barcode library into the RDLC project. Here is a barcode library supporting Postnet generation in RDLC

  • Before generate Postnet barcode in RDLC, there is a couple of things you need:

    1.Barcode SDK for RDLC

    2.Microsoft .NET Framework 2.0 and above

    3.Microsoft Visual Studio 2005 onwards or Visual Web Developer 2005 Express Edition and above

    4.Microsoft SQL Server 2005 (any edition) or greater with Adventure Works sample database installed

    Then follow those steps to generate Postnet barcode:

    1.Download aBarcode for RDLC and unzip it;

    2.Start Visual Studio and create a new Windows Application named "RDLCBarcodeDemo".

    3.Create a new DataSet and named it as "AdventureWorks.xsd".

    4.Switch to "Pointer", and then drag and drop "TableAdapter" from toolbox to your created DataSet.

    5.Create a connection to the AdventureWorks SQL Server Database sample and click Next. Then Select "Use SQL statements" and click Next.

    6.Enter the following SQL Statement "SELECT ProductID, Name FROM Production.vProductAndDescription WHERE (CultureID = N'en')" and click Finish button.

    🙂

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply