You can loop through your query string, and maybe you can name your checkboxxes like this: "chk"+[DB-name]
If you know what i mean;
That way when you loop through your QUERY_STRING then you can see if it is a checkbox, if the first 3 letters are "chk"