摘要: 将*.csv文件导入mysql可使用LOAD DATA INFILE, 概要写法: Load data in fileCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--LOADDATA[LOW_PRIORITY|CONCURRENT][LOCAL]I... 阅读全文
posted @ 2009-10-15 09:21 guzufeng 阅读(3849) 评论(0) 推荐(0) 编辑
摘要: Basic Select Statement SELECT *|{[DISTINCT] column|expression [alias],….} FROM table; Using Arithmetic Operators SELECT 12* (column +10)+200  FROM table; Using the Concatenation Operato... 阅读全文
posted @ 2009-09-24 21:26 guzufeng 阅读(343) 评论(0) 推荐(0) 编辑
摘要: Important:A solider understanding of basal concepts is critical to any .NET Framework developer’s long-term success.Turst me: having a solid grasp of these concepts will allow you to build effic... 阅读全文
posted @ 2009-09-19 21:14 guzufeng 阅读(748) 评论(0) 推荐(1) 编辑
摘要: 委托,是一种特殊的类,它是将调用时操作对象和指定方法的封装。委托的构造函数,需两个参数target,methodPtr分别用于指定操作的对象和方法。委托的调用通过Invoke方法,方法的原型及委托定义一致。委托同时提供了BeginInvoke及EndInvoke方法用于支持异步。委托链的形成利用Delegate的基类MulticastDelegate的_prev字段,[关于Delegate与Mul... 阅读全文
posted @ 2009-09-14 21:16 guzufeng 阅读(285) 评论(1) 推荐(0) 编辑
摘要: 首先瞅一下委托的定义: public delegate void Feedback(object value);编译器将之翻译后的代码:public class Feedback:System.MulticastDelegate{ //构造函数 public Feedback(object target,Int32 methodPtr); //委托对象调用回调函数的方法 public v... 阅读全文
posted @ 2009-09-06 23:45 guzufeng 阅读(247) 评论(0) 推荐(0) 编辑
摘要: event,a type that defines an event member allows the type(or instances of the type) to notify other objects that something special has happiend. 事件:定义事件成员的类型允许类型(或者类型的实例)在某些特定事情发生时通知其它对象。事件是基于委托机制上,委... 阅读全文
posted @ 2009-08-31 22:28 guzufeng 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 摘要:利用栅格图数据源通过Deegree配置WMS。首先将栅格图利用RTB切出金字塔状的数据源,配置WMS时是通过WCS来实现的。内容:作为RTB的数据源,是图片文件但必须要有头文件支持。RTB对栅格图进行切图时,对X_Scale,Y_Scale[横向/纵向每一象素的经纬度差值]的要求非常精确,如果x_scale是无限不循环小数,就是用C#中的Decimal数据类型来保存值也会在切图的过程中会报错... 阅读全文
posted @ 2009-08-15 17:34 guzufeng 阅读(962) 评论(1) 推荐(0) 编辑