Serial BarCode Report: ASPX

Real Time BarCode Report: To generate custom BarCode report according to users' input information

Dynamic Web Pages: ASP.NET 2.0

Case Scenario: Sales Dept. asked if we can provide the a report with each shipment on a separate sheet of paper. The report must contain following:

  • Date on the header.
  • Customer Part number with revision both in human readable and barcode form.
  • Serial # with both human readable and barcode form.

Example, if we have 400 pcs shipping out and we can fit 50 sets of these information per sheet then we will send 8 sheets out with the shipment.

Result—Real Time BarCode Report: To generate custom BarCode report according to users' input information.

Case Study: Barcode Form: MO# (5 digits) YYDDD (5 digits) Serial# (4 digits). All three sections are numeric digits, and are required field (can't be empty).




Case Complete: User could input data on the fields of MO#, YYDDD, Start Number and Quantity of the codes.


Case Complete: Generate report.



Coding Tips:

Declare variables:


Initiate variables:



Use TextBox for user input Regular Expression Validator to exam the input data:


Data Source : ArrayList generated in real time from user's input variables.


Use Repeater to read the data and print report.


At the last, use CSS to decide which part are printable and which part should not be printed.