hi everyone

i have tried generating Button control dynamically... but faced two problems:
1) if i want to add this button to any container control...then its fine( i can user control.add(objButton)...but i couldnt work out how to add it to a form and place it at desired location;

2)how do we add event handler for this dynamically generated button...i mean where do we write coe to handle Click event for this button.

thnx in advance.