随笔分类 - C#
摘要:说明:首先要将sde要素类发布成对应的要素服务,通过对要素服务的操作,实现数据在sde要素类中的增删//向服务器发出请求public string getPostData(string postString, string url) { string result...
阅读全文
摘要://下载NPOI类库并添加引用using NPOI.SS.UserModel;using NPOI.HSSF.UserModel;using NPOI.SS.Util;public static void MergeCell(ISheet tb, ICell cl, int firstrow, in...
阅读全文
摘要:1. Open IIS Manager2. Select MIME Types3. In the right pane, click Add…4. Enter the following information:File Name Extension: .shpMIME Type: application/octet-stream5. Click OK6. .SHP is now available to be referenced in your dashboards.- See more at: http://centigonknowledge.com/tutorial/configure
阅读全文
摘要:一、Server.MapPathE:\MyProject\GisSystem\Json\jsonlist.aspx,GisSystem项目下有个Json文件夹,文件夹下有个jsonlist.aspx。运行jsonlist.aspx时:Server.MapPath("")//当前运行文件所在的目录,E:\MyProject\GisSystem\JsonServer.MapPath("./")//当前运行文件所在的目录,E:\MyProject\GisSystem\Json\Server.MapPath("../")//当前运行文件所在目
阅读全文