Yes but I have alot of checkboxes on some of these webpages. I was thinking something like:
Code:
        foreach (Control ctrl in this.Controls)
        {


            if (ctrl is CheckBox)
            {

                CheckBox chk = new CheckBox();
                chk = (CheckBox)ctrl;
                if (chk.Checked)
                {

                }
            }
        }
but have no idea on how to have the variable match the current checkbox. With your idea I would still need a line for each checkbox. I want it not to matter how many.