IFeatureClass 获取字段值

摘要: //比如我们给出了确定的图层名,我们要获取到该图层具体有哪些字段?并取出来//先获取所有图层及其名字IMap pMap=axMapControl.Map;ILayer pLayer=null;for(int i=0;i<pMap.Layercount;i++){pLayer=pMap.get_layer(i);if (pLayer is IFeatureLayer)comboBoxEdit1.Properties.Items.Add(layer.Name);}//根据需要获取指定图层layerstring layerName="";ILayer layer=null; 阅读全文
posted @ 2013-03-05 12:56 很遗憾我不是 阅读(4749) 评论(0) 推荐(0) 编辑

C# DataGridView添加新的行(转自http://zhidao.baidu.com/question/319585377.html)

摘要: DataGridView控件在实际应用中非常实用,特别需要表格显示数据时。可以静态绑定数据源,这样就自动为DataGridView控件添加 相应的行。假如需要动态为DataGridView控件添加新行,方法有很多种,下面简单介绍如何为DataGridView控件动态添加新行的两种方 法:方法一:intindex=this.dataGridView1.Rows.Add();this.dataGridView1.Rows[index].Cells[0].Value="1";this.dataGridView1.Rows[index].Cells[1].Value="2 阅读全文
posted @ 2013-03-04 10:12 很遗憾我不是 阅读(943) 评论(0) 推荐(0) 编辑

Notes on Arc SDE 安装

摘要: 1.When you post install an Arc SDE with an Oracle DataBase, you should not leave anything that may watch the regiditer and the service on, then there will be no such many problems.2.You need to edit the configure files under the "X:\app\XXX\product\11.2.0\dbhome_1\NETWORK\ADMIN" path: 1) e 阅读全文
posted @ 2013-01-30 22:29 很遗憾我不是 阅读(261) 评论(0) 推荐(0) 编辑

ORA_01658

摘要: 此错误是报oracle的表空间大小不足。首先于plsql中,查看所有表空间的大小:SELECT T.TABLESPACE_NAME, ROUND(SUM(BYTES/(1024 * 1024)), 0) TS_SIZEFROM DBA_TABLESPACES T, DBA_DATA_FILES DWHERE T.TABLESPACE_NAME = D.TABLESPACE_NAMEGROUP BY T.TABLESPACE_NAME;然后查询要修改的表空间的数据文件名:select file_name,blocks,tablespace_namefrom dba_data_files将对应表空 阅读全文
posted @ 2012-11-26 17:33 很遗憾我不是 阅读(260) 评论(0) 推荐(0) 编辑

inbound and outbound interface of COM

摘要: http://blog.sina.com.cn/s/blog_53fc3ca10100d1au.html 在arcengine的对象模型图学习时遇到一个 Inbound 和outbound interface区别的问题,对此进行了一定的认识,希望能够抛砖引玉: 遇到这个问题,多半是没有学习过com编程的人,如需深入学习,请学习c++的com方面的知识! 具体区别如下:COM 所建立的是一个软件模块与另一个软件模块之间的链接, 当这种链接建立之后, 模块之间就可以通过被称之为Interface“接口 ”的机制来进行通信。在绝大部分情况下, 客户应用程序与组件的通信过程是单向的, 客户创建组... 阅读全文
posted @ 2012-11-17 15:41 很遗憾我不是 阅读(1118) 评论(0) 推荐(0) 编辑

AE32位程序 移植到 64位系统

摘要: 未能加载文件或程序集“ESRI.ArcGIS.AxControls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86”或它的某一个依赖项。系统找不到指定的文件。原因可以有很多:1.AO是32位原生组件,一般认为不支持64位系统(道听途说),所以只能在32位环境下进行编译。2.还有就是9.3和10.0之间的差异,引用项、绑定productcode、修改引用属性。3.项目属性中需将Target Processor属性设置为X86。在使用ArcObjects代码之前,如果没有在正确的位置放置RuntimeManag 阅读全文
posted @ 2012-11-17 13:54 很遗憾我不是 阅读(5627) 评论(0) 推荐(1) 编辑

ArcSDE 快速入门

摘要: http://files.cnblogs.com/henyihanwobushi/ArcSDE%E5%BF%AB%E9%80%9F%E5%85%A5%E9%97%A8%E6%95%99%E7%A8%8B.pdf 阅读全文
posted @ 2012-11-17 13:38 很遗憾我不是 阅读(227) 评论(0) 推荐(0) 编辑

ecp of arcengine, arcgis, server, arcsde

摘要: arcgis engine 10: 3dengine,100,ecp.arcgis.engine,none,KGE784S1MGRMMBKYZ161 3dserver,100,ecp.arcgis.engine,none,VPH4ENBJ3Y831R1DF089 arcgisserver,100,ecp.arcgis.engine,none,D7MFFAZ8THZTPJR67072 bingmapseng,100,ecp.arcgis.engine,none,QH1N8J6BZM7PGTJ89232 bingmapssvr,100,ecp.arcgis.engine,none,OLP... 阅读全文
posted @ 2012-11-17 13:35 很遗憾我不是 阅读(949) 评论(0) 推荐(0) 编辑

ORA 01658

摘要: [ORA 01658]是报oracle的表空间大小不足。首先查看所有表空间的大小:SELECT T.TABLESPACE_NAME, ROUND(SUM(BYTES/(1024 * 1024)), 0) TS_SIZEFROM DBA_TABLESPACES T, DBA_DATA_FILES DWHERE T.TABLESPACE_NAME = D.TABLESPACE_NAMEGROUP BY T.TABLESPACE_NAME;然后查询要修改的表空间的数据文件名:select file_name,blocks,tablespace_namefrom dba_data_files将对应表空 阅读全文
posted @ 2012-11-12 16:05 很遗憾我不是 阅读(369) 评论(0) 推荐(0) 编辑

Design pattern

摘要: 1. All patterns provide a way to let some part of a systemvary independently of all other parts.2. Leave the class working well, and change the others.3. Program to an interface, not an implementation. 阅读全文
posted @ 2012-09-24 00:00 很遗憾我不是 阅读(133) 评论(0) 推荐(0) 编辑