I assume you're in a loop and do something like this?
Button newButton = new Button();
newButton.Click += new EventHandler(newButton_Clicked);
You're registering the same method for all buttons. You'll need individual methods for each button. Alternatively, you can assign each button a different identifying property and in your handler, check to see which button was the sender.
From there you can take appropriate action.