博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 2 3 4 5 6 ··· 8 下一页

2008年9月16日

摘要: 修改select 的selectedValue或者selectedIndex或者两者,在服务器端还是默认的选择项,想想可能与元素的selected有关,试了一下,果然如此。aspx代码如此:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %><... 阅读全文

posted @ 2008-09-16 15:28 liufu627 阅读(248) 评论(0) 推荐(0)

2008年9月8日

摘要: 对于ArcGIS的框架,我相信网上介绍得更多了,现在主要讲怎样安装ArcGIS组件来进行.net二次开发.我们要装的组件有:ArcSDE,ArcIMS,ArcIMS.ADF.DotNet。数据库我们采取主流的Oracle9i,我们选择Oracle9.2,但是不能选择Oracle9.0,因为它不能与SDE很好的协作,其它的版本未测试过。Oracle的安装过程略。有了这个数据库基础了,我们可以来安装A... 阅读全文

posted @ 2008-09-08 15:43 liufu627 阅读(873) 评论(0) 推荐(0)

2008年8月19日

摘要: 将SqlHelper转化为OraHelper,发现代码冗余量太多了,故修改之。调用示例如下: string spName = "foo.fmonthsignstatdata";//"Usefreqmonthstat"; string spName2 = "foo.test2";//无参数 string connStr = "Data Source=ip3;user id=foo;password=... 阅读全文

posted @ 2008-08-19 18:49 liufu627 阅读(1216) 评论(1) 推荐(0)

2008年3月13日

摘要: SendKeys模拟键盘的操作,设置一定的键值,便可以自动控制。但是我们在使用的过程中,发现SendKeys不支持空格键,在很多的应用场景,都需要使用空格键,所以只好通过反射的方式将其调整。代码如下: Type typeForKeywords = Type.GetType("System.Windows.Forms.SendKeys+KeywordVk[], System.Windows.Form... 阅读全文

posted @ 2008-03-13 15:26 liufu627 阅读(1872) 评论(2) 推荐(0)

2008年2月18日

摘要: ~ tilde! exclamation mark @ at # hash (sharp, number sign)$ dollar % percent ^ caret (uparrow, to the power of, hat, control)& ampersand (and) * star (asterisk, times) ( left bracket (left parenth... 阅读全文

posted @ 2008-02-18 10:36 liufu627 阅读(425) 评论(0) 推荐(0)

2007年10月24日

摘要: class QueueHashtable<TKey, TValue> { List<TKey> _keys = new List<TKey>(); Hashtable ht = new Hashtable(); public ICollection Keys { get { return _keys; } } public ICollection Values ... 阅读全文

posted @ 2007-10-24 16:49 liufu627 阅读(1572) 评论(1) 推荐(0)

2007年7月5日

摘要: 在开发PDA程序的过程中要使用dataGrid控件,必须要指定GridColumnStyle的MappingName通过UI 设计的方式,不能在后台代码中指定,也就是说必须在InitializeComponent里完成所有映射工作,否则会出现数据表无法绑定到dataGrid控件之上。 阅读全文

posted @ 2007-07-05 21:48 liufu627 阅读(629) 评论(1) 推荐(0)

2007年6月28日

摘要: /// <summary> /// 将日期转化成指定格式,24制。YYYY: 年;MM:月;DD:日;HH:小时;mm:分钟;SS:秒;MS:毫秒。 /// </summary> /// <param name="format"></param> /// <returns></returns> public static st... 阅读全文

posted @ 2007-06-28 18:02 liufu627 阅读(236) 评论(0) 推荐(0)

2007年6月26日

摘要: using System;using System.Collections.Generic;using System.Text;using Newtonsoft.Json.Converters;using Newtonsoft.Json;using System.Data;using System.Data.SQLite;namespace ConsoleApplication2{ class P... 阅读全文

posted @ 2007-06-26 14:48 liufu627 阅读(2291) 评论(0) 推荐(0)

2007年6月13日

摘要: 在做一个项目的过程中,需要对ORACLE数据库链接进行测试。第一个想到的就是OracleClient命名空间,用.net自定的ORACLE访问组件来访问应该不会出现什么问题吧。想象永远是美好的,不管是直接用SQL语句还是调用ORACLE中的存储过程都无济于事。所以这个方案只好放弃。第二个想法是利用Oracle为.NET提供的访问组件(ODP.net),搞来搞去,ODP.net最低支持Oracle9... 阅读全文

posted @ 2007-06-13 18:21 liufu627 阅读(889) 评论(2) 推荐(0)

上一页 1 2 3 4 5 6 ··· 8 下一页