When a user clicks a checkbox in my checkbox list I want to get the column numer they clicked on. For example, if they click the first box the number should be 0, the second box should be 1, and so on.

I tried this

rblAlerts.SelectedIndex

But this always return a 0 value no matter which check box is clicked. I have my code in the SelectedIndexChanged sub.

I am using VB .Net 2003.

Thanks