Click to See Complete Forum and Search --> : CheckBox Object + Array


dunezone
January 21st, 2010, 01:03 PM
Is it possible to store the checkbox object into an array? I haven't found anything on this because I dont think you can.

nelo
January 21st, 2010, 01:21 PM
I'm not sure which checkbox you are talking about. Nevertheless if you are talking a CheckBox control you have to understand that it is a .NET class like any other. Hency you can put it any collection structure you wish. For example...


var boxes = new CheckBox[] { new CheckBox(), new CheckBox() };