Maz Hussain

Maz Hussain

  • NA
  • 5
  • 35.1k

Adding items to gridview at run time

Feb 16 2012 2:22 PM
Hi there, I have a barcode reader which scans the barcode of a product(s). Upon scanning the barcode I can quite easily get the selected product from the database as an object.

My problem is how would I go about implementing my software, such that for each product that I scan, how can I get these scanned item(s) to appear in the gridview dynamically at run time...? I am creating a winforms application. Not ASP.NET.

My gridview contains the following columns::       Prod ID | Name | Quantity | Price | Total.

Any suggestions would be of great help. What would be a good logic?

Kind regards

Maz

Answers (2)