Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
I got a survey site , I want to display a question and it's choices one by one and a button. After I click one of choice to answer, Click the button to insert answer into database. How can I load the button in runtime and write Button's events to execute ? I'm a beginner in Asp.net .Please tell me how can I do ? Thanks a lot.
Posted
Comments
R. Giskard Reventlov 16-Nov-10 4:11am    
What have you already tried? How did that work out? What is the full text of your homework question?

1 solution

Hi,
You can use button class to create a button dynamicallyand available to that button are same as the events available for normal button.
Thanks & Regards,
Prasant
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900