摘要: Codestring currentFilePath = HttpContext.Current.Request.FilePath; string CurrentPageName = currentFilePath.Substring(currentFilePath.LastIndexOf("/") + 1); 阅读全文
posted @ 2013-09-20 17:31 陈大欠 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 如何获取Repeater的当前行号,其实Repeater自身就带有这个获取当前行号的属性,而无需程序员绑定这个行号。到底要怎么实现呢?其实使用Repeater中的 Container.ItemIndex 就可以获取了,见下示例: Repeater:行号: GirdView: DataList: 1. if you are using SQL Server, tryselect identity(int,1,1) as 'id', * into #mytemp from Your... 阅读全文
posted @ 2013-09-20 17:30 陈大欠 阅读(421) 评论(1) 推荐(0) 编辑