摘要: 在gridview上实现上下键移动选中行! http://blog.csdn.net/gdsimon/article/details/6121424因为要用到js,所以要在gridview的OnRowDataBound中加入js的语句。[c-sharp] view plaincopyprint?protectedvoid gvMain_OnRowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { string strGvName = " 阅读全文
posted @ 2012-11-06 10:48 TABCDT 阅读(225) 评论(0) 推荐(0)
摘要: 展开和折叠GridView行 http://blog.csdn.net/lee576/article/details/3089677原文地址:http://www.codeproject.com/KB/webforms/GridViewExpandCollapse.aspx 代码下载:/Files/sunfishlu/GridViewExpandCollapse.rar 效果图: 介绍 这篇文章介绍了使用JavaScript折叠/展开GridView行的功能,为了实现所希望的效果,我在GridView的表头放置了一张图片,当点击对应图片时,GridView将会折叠和展开行。HTML代码 ... 阅读全文
posted @ 2012-11-06 10:40 TABCDT 阅读(673) 评论(0) 推荐(0)
摘要: html] view plaincopyprint?<html> <head> <title>表格</title> <styletype="text/css"> .editText { border-width:1px; border-top-style:none; border-left-style:none; border-right-style:none; border-bottom-style:solid; border-color:#030; width:100%; } </style> &l 阅读全文
posted @ 2012-11-06 10:32 TABCDT 阅读(277) 评论(0) 推荐(0)