2017年3月1日

摘要: 1 double len; 2 IFeatures66 features = featureLayer.FeatureGroups.Polyline.GetCurrentFeatures(); 3 foreach (IFeature66 feature in features) 4 { 5 ... 阅读全文
posted @ 2017-03-01 15:11 Lzhm216 阅读(398) 评论(0) 推荐(0) 编辑
摘要: DataGridView dgv = new DataGridView(); dgv.Dock = DockStyle.Fill; dgv.Location = new System.Drawing.Point(0, 0); dgv.Size = new System.Drawing.Size(79 阅读全文
posted @ 2017-03-01 15:07 Lzhm216 阅读(531) 评论(0) 推荐(0) 编辑

2016年9月13日

摘要: '1.用户可以任意选择文件夹进行遍历 '2.限定遍历时仅搜索EXCEL文件(你可以改变文件类型) '这个程序要先在“引用”下选择"microsoft scripting runtime"库文件 Dim ArryFile() As String Dim nFile As Integer Sub Filelist() Dim fso As New FileSystemObject ... 阅读全文
posted @ 2016-09-13 08:43 Lzhm216 阅读(4067) 评论(0) 推荐(0) 编辑

2014年10月24日

摘要: view@{ Layout = null;} 111 用户名 ... 阅读全文
posted @ 2014-10-24 15:12 Lzhm216 阅读(358) 评论(0) 推荐(0) 编辑
摘要: 在做datatables的项目,从后台取得数据后,返回给datatables界面时会报下面的错误:DataTables warning : Requested unknown parameter '0' from the data source for row 0加上下面的设置就可以了,至于原理还不... 阅读全文
posted @ 2014-10-24 14:46 Lzhm216 阅读(1279) 评论(0) 推荐(0) 编辑

2014年7月7日

摘要: SQL Server 用patindex()函数判断,例如'patindex(%[吖-做]%',字段名)>0Oracle 用lengthb()和length()函数求字段对应内容的的长度,长度不一样则说明内容中包含汉字 阅读全文
posted @ 2014-07-07 16:28 Lzhm216 阅读(932) 评论(0) 推荐(0) 编辑

2014年4月14日

摘要: TerraGate SFS Manager配置时权限设置问题 阅读全文
posted @ 2014-04-14 10:13 Lzhm216 阅读(941) 评论(0) 推荐(0) 编辑

2013年12月24日

摘要: Dim files, path, filename path = ThisDrawing.Utility.GetString(True, "输入dwg文件所在路径:") 'dwg文件路径 If path = "" Then Return files = Dir(path & "*.dwg") Dim text As AcadText Do While files "" '打开dwg文件 ThisDrawing.Application.Documents.Open (path & .. 阅读全文
posted @ 2013-12-24 17:16 Lzhm216 阅读(912) 评论(0) 推荐(0) 编辑
摘要: onbeforeunload事件 它是这样用的: 1 9 10 这样每次关闭浏览器窗口或涮新页面时,都要触发onbeforeunload这个事件。http://www.surfchen.org/?p=54摘抄如下:onbeforeunload事件:注:三大主流浏览器中firefox和IE都支持onbeforeunload事件,opera尚未支持。用法:object.onbeforeunload = handler 描述: 事件触发的时候弹出一个有确定和取消的对话框,确定则离开页面,取消则继续待在本页。 handler可以设一个返回值作为该对话框的显示文本。触发于:关闭浏览器窗口 通过... 阅读全文
posted @ 2013-12-24 17:08 Lzhm216 阅读(780) 评论(1) 推荐(0) 编辑

2013年12月13日

摘要: 本文以arcgis_js_v36_api为例,且安装的是IIS Web服务器1.下载最新的ArcGIS for JS api 包,可在Esri中国社区或者Esri官网下载2.下载后解压3.将解压后的文件夹拷贝至Web服务器根目录C:\inetpub\wwwroot文件夹下4.修改文件arcgis_js_v36_api\arcgis_js_api\library\3.6\3.6\init.js和arcgis_js_v36_api\arcgis_js_api\library\3.6\3.6\js\dojo\dojo\doj.js中的 [HOSTNAME_AND_PATH_TO_JSAPI]为loc 阅读全文
posted @ 2013-12-13 14:29 Lzhm216 阅读(461) 评论(0) 推荐(0) 编辑

导航