i'm pretty sure it's not possible, but i'll throw this out there anyways.
I have about 10 asp:checkbox controls on the page, and I need to go and update the database every time any of them gets checked/unchecked.
Right now i have all of them tied to one event handler that fires on CheckedChanged, then i cast the sender to Checkbox and get the ID, and assign a value based on that ID to a parameter that gets passes to the stored procedure.
Is it possible to assign a custom parameter to each checkbox, so i don't have to tie their IDs to sproc parameter values.
Thank you.
p.s. static Dictionary<> seems to be the way to go, however i can't get examples from this post to work in .net 2.0