摘要: 一、通过命令源获取当前行索引。方法比较多, GridView 的 Command 事件中无法象 DataGrid 那样直接获取行,法1,GridViewRow drv = ((GridViewRow)(((Button)(e.CommandSource)).Parent.Parent));//CommandSource 引起事件的命令源,(疑问,根据MSDN说的是GridView,如果这样的话这样... 阅读全文
posted @ 2010-05-19 22:42 孙老板 阅读(876) 评论(0) 推荐(2) 编辑