Click here to Skip to main content
15,893,508 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hi sir
i am working on online examination system project and now i want to change the color of button after submitted a question and i have one button for each question and 20 question in a single paper so please help me sir...
thanx
Posted

1 solution

on button click event write this at last line..

C#
protected void Submit_Click(object sender, System.EventArgs e)
   {
........
........
.......
Button1.BackColor = System.Drawing.Color.LightCoral;

}
 
Share this answer
 
v2

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