yushff

code the world。

导航

2010年1月2日

摘要: 以下是从我的aspx.cs文件中拷贝出来的在ArcGIS Server中添加和删除shp图层的源码,用起来比较好用,代码出处是刘光的那本书。如果使用,可以把添加图层的和删除的图层的代码写成一个通用的函数,如 private void addPPISHPFile(string shpFilePath, string shpFileName, string LayerName, string Fie... 阅读全文

posted @ 2010-01-02 15:55 yushff 阅读(1227) 评论(0) 推荐(0)

摘要: 用javascript改变了dropdownlist控件的值: var option = document.createElement('option'); option.text =str;option.value =str; list.add(option); list.selectedIndex=list.options.length-1; 然后按下按钮btn1,但在Btn1_Cl... 阅读全文

posted @ 2010-01-02 09:50 yushff 阅读(1391) 评论(0) 推荐(0)