• 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.

    🙂