Assuming the "form" is your FormCollection, I would try using Linq to do something like:
FormCollection subset = form.Where(x => x.Key.Contains("YourPrefix_"));
I have not tested this :)
Alternatively, you can change .Contains () to be .Substring (0.11) == "YourPrefix_", depending on how your keys are named, etc.
Matthew groves
source share