当前位置:编程学习 > C#/ASP.NET >>

XML文件绑定Repeater 求助!~

<configuration>
 <map initialExtent="12036691.718120124 3360783.259641753 12951490.072612121 3956380.584039685" fullExtent="12036691.718120124 3360783.259641753 12951490.072612121 3956380.584039685">            
      <mapgroup label="影像数据">
       <mapservice id="" label="湖北影像图PNG" type="kqtiled" visible="true" imageType="0" alpha="1">http://192.168.1.113:8066/hubei_jpg/</mapservice>
      </mapgroup>
      <mapgroup label="土地规划">
         <mapservice id="" label="湖北影像图PNG" type="kqtiled" visible="true" imageType="0" alpha="1">http://192.168.1.113:8066/hubei_jpg/</mapservice>
      </mapgroup>
      <mapgroup label="地类图斑">
        <mapservice id="" label="湖北地类图斑" type="kqtiled" visible="false" imageType="1" alpha="1">http://192.168.1.198:81/hubei_shape_pic/</mapservice>
    <mapservice id="" label="湖北行政区" type="kqtiled" visible="false" imageType="1" alpha="1">http://192.168.1.198:81/hubei_shape_pic/</mapservice>
      <mapservice id="" label="湖北地类图斑安唐模式" type="kqantang" quadKey="132" visible="false" imageType="1" alpha="1">http://192.168.1.136:8085/</mapservice>
  </mapgroup>
  </map>
</configuration>

读取mapgroup节点中label属性添加到Repeater第一行中 读取mapservice节点中的label属性添加到Repeater第二行中 

求高手解答!~
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,