摘要:
Codestring currentFilePath = HttpContext.Current.Request.FilePath; string CurrentPageName = currentFilePath.Substring(currentFilePath.LastIndexOf("/") + 1); 阅读全文
摘要:
如何获取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... 阅读全文