摘要: 1、asp:ButtonField模板中的行号获取前台代码:后台代码:if (e.CommandName == "lookcq") { int index = Int32.Parse(e.CommandArgument.ToString()); string autobh = GridView1.DataKeys[index].Values[""].ToString();}2、TemplateFiled模板中的行号获取前台代码: '/> 后台:if (e.CommandName == "zhuxiao") { strin 阅读全文
posted @ 2013-05-27 08:57 Bluze 阅读(293) 评论(0) 推荐(0) 编辑