摘要: using System;/// summary/// Summary description for IDCardValid/// /summarypublic class IDCardValid{ public IDCardValid() { // // TODO: Add constructor logic here // } /// summary /// 验证身份证号码 /// /summary /// param name="Id"身份证号码/param /// returns验证成功为True,否则为False/returns public sta 阅读全文
posted @ 2009-05-17 12:07 leonardleonard 阅读(172) 评论(0) 推荐(0) 编辑
摘要: RowDataBound事件 protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { int i; for (i = 0; i GridView1.Rows.Count; i++) { if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Attributes.Add("onmouseover", "c=this.style.backgroundColor;this.style.backgroundColor='#FFFFCC 阅读全文
posted @ 2009-05-17 12:05 leonardleonard 阅读(133) 评论(0) 推荐(0) 编辑