文章分类 - ASP.NET
摘要:if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Attributes.Add("onmouseover", "onmOer(this)"); e.Row.Attributes.Add("onmouseout", "onmOut(this)"); e.Row.Attributes.Add("onclick", "rowClick(th...
阅读全文
摘要:SqlParameter[] objParams = new SqlParameter[3]; objParams[0] = new SqlParameter("@sn", sn); objParams[1] = new SqlParameter("@modCode", modCode); objParams[2] = new SqlParameter("@modName", modName);
阅读全文
摘要:if(e.Row.RowType == DataControlRowType.DataRow) {e.Row.Cells[1].Text = "<i>" + e.Row.Cells[1].Text + "</i>";}
阅读全文
摘要:1。 protected void GVpar_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { ////鼠标经过时,行背景色变 //e.Row.Attributes.Add("onmouseover", "this.style.backg...
阅读全文
浙公网安备 33010602011771号