2012年7月11日
摘要: 读取固定xml文件:<?xml version="1.0" encoding="utf-8"?><xml><AO> <string>A</string> <string>B</string> <string>C</string> <string>D</string> <string>E</string></AO></xml><%Set myxml=Server.Creat 阅读全文
posted @ 2012-07-11 16:00 whh 阅读(5167) 评论(0) 推荐(0)
摘要: 获取Repeater, DataList中的索引号(行号,序号),可以使用Container.ItemIndex来取。而获取获取Gridview中的索引号,则需要用Container.DataItemIndex来取。示例: <asp:GridView ID="GridView1" runat="server"> <Columns> <asp:TemplateField> <ItemTemplate><%#Container.DataItemIndex %></ItemTemplate> 阅读全文
posted @ 2012-07-11 15:52 whh 阅读(242) 评论(0) 推荐(0)