提交问题后更改按钮的颜色
问题描述:
嗨先生
i正在进行在线考试系统项目,现在我想在提交问题后更改按钮的颜色,我在每个问题上有一个按钮,在一张纸上有20个问题所以请帮助我先生...
thanx
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
答
按钮点击事件在最后一行写这个..
on button click event write this at last line..
protected void Submit_Click(object sender, System.EventArgs e)
{
........
........
.......
Button1.BackColor = System.Drawing.Color.LightCoral;
}
}