上一页 1 2 3 4 5 6 ··· 23 下一页
摘要: 做一个简单的.net adf示例程序,在定位时报错:[SoapException: Error processing server request] System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +1485877 System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke 阅读全文
posted @ 2012-07-17 11:37 因是因非 阅读(402) 评论(0) 推荐(0) 编辑
摘要: 最开始跳转到html页面,想隐藏url显示,使用window.open 设置 location=no,地址栏没了,但标题栏显示url和参数,无法解决,修改为aspx页面跳转到aspx页面,使用form的post方式提交,设置form的action属性为目标页面,在新页面中接收传递参数,用frame嵌入待显示页面,这样就不会显示url部署到服务器后,发现form提交时只是本页面刷新了下,没有发生跳转。取消form的runat=“server”,将form内的asp.net控件修改为input即可。 阅读全文
posted @ 2012-06-30 15:56 因是因非 阅读(2078) 评论(0) 推荐(0) 编辑
摘要: C#打包文件夹成zip格式(包括文件夹和子文件夹下的所有文件)C# 文件压缩与解压(ZIP格式)asp.net实现文件夹及文件压缩,并实现下载 阅读全文
posted @ 2012-06-04 10:00 因是因非 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 1 申请开发者帐号2 申请APP IDhttps://developer.apple.com/ios/manage/bundles/index.actionDescription:San ZhangBundle Identifier (App ID Suffix): cn.a.appname3 申请CSR钥匙串访问-证书助理-从证书颁发机构求证书填写注册开发账户时的邮箱和用户名,将CSR文件存储到磁盘。4 申请发布证书iOS provisioning portal-certificates-distribution-导入CSR文件-download-打开-在钥匙串访问中显示5 申请distri 阅读全文
posted @ 2012-06-01 13:48 因是因非 阅读(4109) 评论(1) 推荐(0) 编辑
摘要: 1 IIS中网站属性--HTTP头--启用内容过期2 swf所在的html head中添加 <META HTTP-EQUIV="pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate"> <META HTTP-EQUIV="expires" CONTENT="0">参考:swf 更新后,客户端不需要清空缓存 阅读全文
posted @ 2012-04-16 16:15 因是因非 阅读(771) 评论(0) 推荐(0) 编辑
摘要: java将json格式的xy值转为点对象 1 private IGeometry getGeometryFromXYs(String xys) { 2 IGeometry geo = null; 3 try { 4 if (xys == null) 5 return null; 6 JSONArray jsonArray = new JSONArray(xys); 7 int count = jsonArray.length(); 8 ... 阅读全文
posted @ 2012-02-21 15:07 因是因非 阅读(1398) 评论(0) 推荐(0) 编辑
摘要: 数据库读取工具类 1 package com.db; 2 3 import java.sql.Connection; 4 import java.sql.DriverManager; 5 import java.sql.SQLException; 6 import oracle.jdbc.driver.OracleDriver; 7 8 import javax.naming.Context; 9 import javax.naming.InitialContext; 10 import javax.naming.NamingException; 11 import ja... 阅读全文
posted @ 2012-02-21 14:39 因是因非 阅读(13348) 评论(0) 推荐(2) 编辑
摘要: 1 AO 显示label label转annotation 使用gp工具转换: createCadXData 添加附加属性 ExportCAD2 AE 转dxf anno转换时有问题 下面为转换dxf的代码:using System;using System.Collections.Generic;using System.Text;using System.IO;using System.Globalization;using ESRI.ArcGIS.Geometry;using ESRI.ArcGIS.Geodatabase;using ESRI.ArcGIS.... 阅读全文
posted @ 2012-02-15 15:38 因是因非 阅读(2792) 评论(2) 推荐(0) 编辑
摘要: 因使用AutoCAD版本为2004,2006版本以后才有.net开发包,因此采用ActiveX方式进行开发。功能为:将几个CAD图层合并到其中一个上,并设置坐标,线和标记的颜色和字体。CAD对象的层级为AcadApplication - AcadDocument - AcadModelSpace AcadEntity 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawin... 阅读全文
posted @ 2012-02-15 15:22 因是因非 阅读(1937) 评论(0) 推荐(0) 编辑
摘要: //新建excel文件,编辑、格式化、保存 1 Microsoft.Office.Interop.Excel.Application app = new Microsoft.Office.Interop.Excel.Application(); 2 Workbook workbook = app.Workbooks.Add(true); 3 Worksheet sheet = (Worksheet)workbook.Worksheets["sheet1"]; 4 sh... 阅读全文
posted @ 2012-02-15 15:09 因是因非 阅读(315) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 23 下一页