摘要: 1、在指令中添加 EnableEventValidation="false"2、在RowDataBound事件中添加protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e){ switch (e.Row.RowType) { case DataControlRowType.DataRow: e.Row.Attributes["style"] = "cursor:hand"; #region //点击行触发SelectedIndexChang 阅读全文
posted @ 2013-10-11 14:17 风雪七月花溅墨 阅读(945) 评论(1) 推荐(1) 编辑