摘要: GridView gdw = (GridView)sender; if (e.Row.RowIndex != -1) { int id = (gdw.PageSize * gdw.PageIndex) + e.Row.RowIndex + 1;//(页面索引)*(页面大小)+本页的行索引+1(从0开始编号,所以加1) string bsh = GridView1.DataKeys[e.Row.RowIndex].Values["BSH"].ToString(); 阅读全文
posted @ 2013-08-03 10:38 Bluze 阅读(273) 评论(0) 推荐(0) 编辑