PMPage control passed into a Dataset

In my program I've got all the information needed for met tocreate controls on a page. I need a way to link that informationwith the control itself so that when the events are called i canget that info quickly and process what i need. Just need to knowhow to setup a dataset for handling that object.SolidworksApi macros