摘要:
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { //将满足特定条件的行标为高亮 if (e.Row.RowType == DataControlRowType.DataRow)//判定当前的行是否属于datarow类型的行 { int money = Convert.ToInt32(DataBinder.Eval(e.Row.DataItem, "MONEY"));//取当前行的列值 if (money == 77) e.Row.BackColor = Co... 阅读全文
posted @ 2012-11-08 23:31
生命周期管理
阅读(184)
评论(0)
推荐(0)
摘要:
刚开始学习就遇到这样的问题确实挺烦人的 //button按钮控件的onmouseover与onmouseout事件的概述this.btn_login.Attributes.Add("onmouseover", "this.style.borderColor='white';this.style.color='white';this.style.backgroundColor='#6b8e23';this.style.borderStyle='dashed';this.style.width=' 阅读全文
posted @ 2012-11-08 23:29
生命周期管理
阅读(2981)
评论(2)
推荐(0)
浙公网安备 33010602011771号