Hi;
my application creates controls in runtime. It takes information from DB and with this information it creates x number of controls. All of these controls are the same. (lets say all of them are buttons). So I dont put any button on the form. The problem is that these buttons will do different things if they are being clicked. They need the infrmation, which is being saved in the text of buttons, and with this information they will do different things. The problem is that I cant define the evetn handler of a control which is being declared in the runtime. How can I do that?

Thanks for every kind of help!
(pls say if this message is not understandable)