01 2010 档案

摘要:十步完成windows服务的安装原文:http://www.cnblogs.com/greatandforever/archive/2008/10/14/1310504.html可能是太过于懒惰的原因,研究个windows 服务的安装程序都花了大半天时间。在网上看了一些示例,大部分都言过其实,把过程搞得太过复杂,老是需要去研究如何利用InstallUtil.exe及其参数。事实上,既然要安装.ne... 阅读全文
posted @ 2010-01-18 23:22 chunchill 阅读(898) 评论(0) 推荐(0)
摘要:讨教 在.NET开发中如何节省内存的使用 阅读全文
posted @ 2010-01-14 16:49 chunchill 阅读(1350) 评论(5) 推荐(1)
摘要:Thread的本地数据槽publicstaticCSContextCurrent{get{LocalDataStoreSlotstoreSlot=GetSlot();CSContextcontext=Thread.GetData(storeSlot)asCSContext;if(context==null){HttpContexthttpContext=HttpContext.Current;if... 阅读全文
posted @ 2010-01-14 16:23 chunchill 阅读(482) 评论(0) 推荐(0)
摘要:SerialPort Open IOException WinCE 6.0 错误解决办法 at System.IO.Ports.SerialStream.WinIOError() at System.IO.Ports.SerialStream.WinIOError() at System.IO.Ports.SerialStream.CheckResult() at System.IO.Ports.SerialStream.SetBufferSizes() at System.IO.Ports.SerialPort.Open() 阅读全文
posted @ 2010-01-14 15:52 chunchill 阅读(2412) 评论(0) 推荐(0)
摘要:1 TOP这是一个大家经常问到的问题,例如在SQLSERVER中可以使用如下语句来取得记录集中的前十条记录:SELECT TOP 10 * FROM [index] ORDER BY indexid DESC;但是这条SQL语句在SQLite中是无法执行的,应该改为:SELECT * FROM [index] ORDER BY indexid DESC limit 0,10;其中limit 0,1... 阅读全文
posted @ 2010-01-12 12:24 chunchill 阅读(393) 评论(0) 推荐(0)
摘要:原文:http://www.cnblogs.com/springtrace/archive/2009/08/31/1557521.html SQLite作为windows mobile的数据库,是一种不错的选择。SQLite的下载地址为:SQLite,SQLite的ADO.net Provider下载地址为:System.Data.SQLite ,在发布程序时,请别忘记拷贝SQLite.Inter... 阅读全文
posted @ 2010-01-06 11:08 chunchill 阅读(1008) 评论(3) 推荐(0)
摘要:C# 读卡器 API WindowsCE 阅读全文
posted @ 2010-01-05 15:30 chunchill 阅读(1037) 评论(2) 推荐(0)