Dynamic reading from Querystring
Hi!
I'd like to add a function to my web page which gives the user the possibility to delete records from the database.
Therefore, I'd like to have a checkbox next to every record and a "Delete selected records" button in the end of the list.
Every record has a unique identifyer field, and I'd like to pass those values in a form to a ASP page that deletes those records in the database where the unique identifyer is equal to the Request.Form values.
If I call the checkboxes Id234, Id235, ... , Id454, is there a way to extract the identifyer value behind the leading Id chars?
Example, if I have selected three records with identifyers 236, 332 and 401:
Request.Form() = "Id236=on&Id332=on&Id401=on"
Or is there a more simple solution to this problem?
|