I have a table generated in HTML and ASP that I create on a webpage.
The table can have any number of rows.
Each row includes a part number, quantity, and unit price.
The user selects the row(s) that he wants by checking a checkbox that appears at the end of each row.
The form is then submitted using a submit button setup to "get" a querystring to a page called MyPage.asp.
MyPage.asp simply needs to determine which part numbers, quantities, and prices were selected.
The problem that I am having is that when no checkbox is checked, nothing is sent in the querystring. For example, if either "checked" or "not checked" was sent I could easily test each item in the collection using the index to find all the checked items, but this doesn't work because the items do not exist unless the checkbox is checked, thereby returning an out of range error.
There must be an easier way!
Can anyone help?