Hey guys,
I've got a problem, and coming from a webform background I think I know how I'd solve it from a web standpoint; but I'm doing a winform project on the side, and not sure how I'd pull it off with winform controls.
I have two tables, we'll call them Group and Item. Each item belongs to a record in the Group table.
I need to display something like this:
GROUP TITLE
ItemAsCheckbox ItemAsCheckbox ItemAsCheckbox ItemAsCheckbox
ItemAsCheckbox ItemAsCheckbox ItemAsCheckbox ItemAsCheckbox
GROUP TITLE
ItemAsCheckbox ItemAsCheckbox ItemAsCheckbox ItemAsCheckbox
ItemAsCheckbox ItemAsCheckbox ItemAsCheckbox ItemAsCheckbox
But here's the thing: there's no set amount of items, so one group title could have 50 items or 1 or 10 or some other number. Also, I'd like to stick all of this within a scrolling control (on a web form, I'd place all this in a div tag and set the Overflow property to Auto. Not sure what the corresponding thing would be in winforms though.
So thats my cunnundrum. Any thoughts on how to pull it off?
Thanks guys!
D'Arcy
I've got a problem, and coming from a webform background I think I know how I'd solve it from a web standpoint; but I'm doing a winform project on the side, and not sure how I'd pull it off with winform controls.
I have two tables, we'll call them Group and Item. Each item belongs to a record in the Group table.
I need to display something like this:
GROUP TITLE
ItemAsCheckbox ItemAsCheckbox ItemAsCheckbox ItemAsCheckbox
ItemAsCheckbox ItemAsCheckbox ItemAsCheckbox ItemAsCheckbox
GROUP TITLE
ItemAsCheckbox ItemAsCheckbox ItemAsCheckbox ItemAsCheckbox
ItemAsCheckbox ItemAsCheckbox ItemAsCheckbox ItemAsCheckbox
But here's the thing: there's no set amount of items, so one group title could have 50 items or 1 or 10 or some other number. Also, I'd like to stick all of this within a scrolling control (on a web form, I'd place all this in a div tag and set the Overflow property to Auto. Not sure what the corresponding thing would be in winforms though.
So thats my cunnundrum. Any thoughts on how to pull it off?
Thanks guys!
D'Arcy