• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
流上
博客园 首页 新随笔 联系 订阅 订阅 管理

2012年11月29日

ArcCatalog建立金字塔提高地图打开速度
摘要: ArcCatalog右键connect folder找到相应的地图和图层。点击Build Pyramids。 阅读全文
posted @ 2012-11-29 16:20 流上 阅读(432) 评论(0) 推荐(0)
 
 

2012年11月13日

ArcCatalog可以显示arc server地图,但是Winform不能显示
摘要: 在C#使用Arc Engine调用arc server发布的地图服务时候,Winform可以正常连接到arc server,但是不显示地图。在Winform中使用ESRI.ArcGIS.Controls.AxMapControl显示地图,首先添加ESRI.ArcGIS.Controls.AxMapControl控件,然后添加ESRI.ArcGIS.Controls.AxLicenseControl控件。如果没有AxLicenseControl控件,那么可能不会显示地图的。 阅读全文
posted @ 2012-11-13 20:08 流上 阅读(425) 评论(0) 推荐(0)
 
 

2012年11月12日

Arcgis Engine连接ArcGis Server
摘要: 1.Server端连接 ESRI.ArcGIS.Server.GISServerConnectionClass gisconnection= new ESRI.ArcGIS.Server.GISServerConnectionClass(); gisconnection.Connect("localhost"); ESRI.ArcGIS.Server.IServerObjectManager som = gisconnection.ServerObjectManager; string servertype = "MapServer"; string s 阅读全文
posted @ 2012-11-12 16:21 流上 阅读(5010) 评论(2) 推荐(1)
 
 

2012年11月7日

ArcGIs Server 9.3安装和部署问题(.Net版本)
摘要: 1.Manager目录位于:ArcGIS\DotNet\VirtualRootDir\ArcGIS2.设置用户权限(1)asgadmin:电脑用户、ArcGISSOM、ArcGISWebServices(2)agsusers:ArcGISSOC、ArcGISWebServices3.打不开arcgis server manager ,并提示:/arcgis应用程序的服务器错误,提示一些web.config 的错误。解决办法:(1)检查并确认安装ASP.NET 2.0 AJAX Extensions(2)检查iis默认网站的根目录下是否也有一个webconfig文件,和Manager目录下的冲突 阅读全文
posted @ 2012-11-07 13:07 流上 阅读(549) 评论(0) 推荐(1)
 
 

2012年11月6日

VS快捷键
摘要: 1.格式化代码选定代码段,Ctrl+K,然后Ctrl+F2.注释和取消注释(1)注释:选定代码段,Ctrl+K,然后Ctrl+C(1)取消注释:选定代码段,Ctrl+K,然后Ctrl+U 阅读全文
posted @ 2012-11-06 16:24 流上 阅读(172) 评论(0) 推荐(0)
 
CSS排版
摘要: CSS样式菜单:<style type="text/css"> #form1 { width: 100%; /*如果要让form1居中显示,需要设置一个常规宽度不能设置为100%,否则在IE里面form1将会满屏显示*/ background-color: Gray; padding-top: 10px; min-width: 760px; max-width: 984px; margin-left: auto; margin-right: auto; height: 700px; } /*Left包括在Main当中*/ .Left { float: left; 阅读全文
posted @ 2012-11-06 16:21 流上 阅读(187) 评论(0) 推荐(0)
 
can not load msptls.dll解决办法
摘要: 曾经遇到一个问题:vs2008 一打开网页设计视图就提示"can not load msptls.dll" 然后自动关闭,但是打开Winform设计器就没问题。后来找到了两种解决办法:(1)将 VS2008安装文件\WCU\WebDesignerCore\WebDesignerCore.EXE,安装一下。(2)下载msptls.dll文件,然后放在电脑目录C:\Program Files\Common Files\Microsoft Shared\OFFICE12 我找到一个下载地址:http://www.filediag.com/dll/exe/MSPTLS.DLL.ht 阅读全文
posted @ 2012-11-06 09:17 流上 阅读(575) 评论(0) 推荐(0)
 
 

2012年10月22日

C#常用代码
摘要: 1.背景图片推荐代码:Bitmap bmp=(Bitmap)Image.FromFile(@"Pictures\MyImage.jpg"); this.BackgroundImage=new Bitmap(bmp,bmp.Size);2.TextBox焦点问题(1)在启动窗体时候,可以使用TextBox1.TabIndex = 0;(2)在程序运行过程中,可以使用TextBox1.Focus();3.将窗体所有TextBox赋值foreach (Control c in this.Controls)this.SetTextBoxValue(c); void SetTextB 阅读全文
posted @ 2012-10-22 14:01 流上 阅读(308) 评论(0) 推荐(0)
 
 

2012年9月11日

Linq操作存储过程
摘要: Linq操作存储过程,需要在继承DataContext的类中添加存储过程的执行函数例如执行一个不带参数的存储过程,声明如下:[Function(Name = "GetMyInt")]public ISingleResult<MENU_TBL> GetInt(){ IExecuteResult res = this.ExecuteMethodCall(this,((MethodInfo)MethodInfo.GetCurrentMethod())); return ((ISingleResult<MENU_TBL>)(res.ReturnValue)) 阅读全文
posted @ 2012-09-11 15:50 流上 阅读(1111) 评论(0) 推荐(0)
 
 

2012年9月10日

VS2010使用Report
摘要: 1.添加报表查看控件this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer();2.添加报表源并装载报表源reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource();this.reportViewer1.LocalReport.DataSources.Add(reportDataSource1);3.添加绑定源this._TBLBindingSource = new System.Windows.Forms.BindingSource 阅读全文
posted @ 2012-09-10 17:11 流上 阅读(2013) 评论(0) 推荐(0)
 
 
下一页

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3