你在后台代码的Page_Load中为imagebutton控件添加一个onmouseover方法:
this.ImageButton1.Attributes.Add("onmouseover","changeBackGround()");
这句话的意思就是当你的ImageButton1控件发生onmouseover事件时触发changeBackGround()方法,方法名你可以随便起。此时你只要在前台脚本中写上changeBackGround()方法就可以了,该方法具体要实现什么就写什么。
建议你用html控件的input控件,结合javascript的onmouseover和onmouseout事件就可以实现这个功能