Isabella
---- I fell upon the thorn of life, I bleed.
博客园
首页
社区
新文章
新随笔
订阅
管理
posts - 18, comments - 14, trackbacks - 0
2012年1月12日
设置为自动启动的WindowService没有开机启动
摘要: 当我们的服务依赖其他的服务才能启动时,我们需要给它添加依存关系。在你的serviceInstaller上点右键,选择属性, 设置ServicesDependedOn.当然你也可以在ProjectInstaller的InitializeComponent方法里添加代码,例子如下:this.serviceInstaller1.ServicesDependedOn = new string[] { "Eventlog", "WinMgmt","MMQ","Windows Management Instrumentation&quo
阅读全文
posted @ 2012-01-12 14:08 李昀璟 阅读(3) 评论(0)
编辑
2012年1月3日
检测是否连网
摘要: To check for a network connection in .NET 2.0 use this:System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable()To monitor a change in IP address or a change in network availability, use the events from the NetworkChange class:System.Net.NetworkInformation.NetworkChange.NetworkAvailabil
阅读全文
posted @ 2012-01-03 10:20 李昀璟 阅读(7) 评论(0)
编辑
2011年12月29日
C# WinForm 边框阴影窗体
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Linq;usingSystem.Text;usingSystem.Windows.Forms;usingSystem.Runtime.InteropServices;namespacetestWinForm{publicpartialclassForm2:Form{publicForm2(){InitializeComponent();SetClassLo
阅读全文
posted @ 2011-12-29 10:47 李昀璟 阅读(25) 评论(0)
编辑
2011年12月28日
PostSubmitter~在WEB应用程序以外的其他程序里提交Web请求的类
摘要: 如果在WindowService等其他非Web应用里提交一个httpRequest,用这个类比较方便:PostSubmitterpost=newPostSubmitter();post.Url="http://seeker.dice.com/jobsearch/servlet/JobSearch";post.PostItems.Add("op","100");post.PostItems.Add("rel_code","1102");post.PostItems.Add("FREE_T
阅读全文
posted @ 2011-12-28 10:22 李昀璟 阅读(4) 评论(0)
编辑
2011年4月27日
Asp.Net部署问题
摘要: 1.提示打不开或者找不到default.aspx文件.可能是因为扩展服务没有打开。解决: 输入inetmgr, 打开IIS Manager, 然后到Web Service Extensions, 设置ASP.NET v2.0.50727为Allow。如果没有发现这一项,就点击右侧窗口任务下的“添加一个新的Web服务扩展”,在弹出的窗口中,点击添加,然后找到x:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll(x为系统安装盘符,一盘为C),再点击确定按钮保存设置,最后再设置其状况为“允许”即可。2. Web应用程序总是不停退
阅读全文
posted @ 2011-04-27 14:52 李昀璟 阅读(24) 评论(0)
编辑
2011年1月20日
MSDTC的折磨
摘要: 今天想办法研究让Oracle的DDL语句也能在MSDTC事务里一块执行。最后发现这是件不可能完成的任务。因为Oracle的DDL语句是死活得自动提交的,无论你是否设置SET AUTOCOMMIT OFF。Oracle在执行DDL语句前是会先执行一条Commit;语句的。然后再执行DDL语句。如果DDL语句成功就COMMIT;失败就回滚。后来,有人说可以写个存储过程远程执行DDL语句,不明白为什么要用存储过程来执行DDL语句,但是结果也是失败:错误信息:ORA-02089: COMMIT is not allowed in a subordinate sessionORA-06512: at "
阅读全文
posted @ 2011-01-20 16:13 李昀璟 阅读(54) 评论(0)
编辑
2008年3月17日
常用缩写
摘要: RTOS(Real-time Operating System)CV(Curriculum Vitae)简历EAI(Enterprise appplication integration)Jr.(Junior)Sr.(Senior)ITO(IT开发外包)BPO(商务流程外包)JD(Job discription)PM(Product Manager)TM(Team Manager)PL(Proje...
阅读全文
posted @ 2008-03-17 09:36 李昀璟 阅读(161) 评论(0)
编辑
2007年9月4日
日本語文法勉強
摘要: 日本語国際センターHP http://www.jpf.go.jp/j/urawa/j_rsorcs/textbook/jrs_04_02_05.html
阅读全文
posted @ 2007-09-04 10:22 李昀璟 阅读(93) 评论(0)
编辑
2007年6月6日
交叉查询
摘要: (一)USE NorthwindselectOrderID,count(case when Quantity between 20 and 30 then ProductID end) as '20-30',count(case when Quantity between 30 and 40 then ProductID end) as '30-40',count(case when Quanti...
阅读全文
posted @ 2007-06-06 15:06 李昀璟 阅读(167) 评论(0)
编辑
2007年6月5日
嵌套游标及动态SQL
摘要: USE Northwinddeclare Order_cursor cursor forSELECT OrderID from Ordersopen Order_cursordeclare @OrderID as INTfetch next from Order_cursor into @OrderIDwhile(@@fetch_status =0)beginPRINT 'OrderID' + S...
阅读全文
posted @ 2007-06-05 16:54 李昀璟 阅读(578) 评论(1)
编辑
仅列出标题
下一页
昵称:
李昀璟
园龄:
5年7个月
粉丝:
0
关注:
0
<
2012年2月
>
日
一
二
三
四
五
六
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
1
2
3
4
5
6
7
8
9
10
搜索
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
随笔分类
Ajax
ASPNET(1)
C# (2)
Java
Oracle(1)
Outlook Addin(1)
SQL Server(5)
日本语(2)
随兴涂鸦(1)
英语翻译(3)
随笔档案
2012年1月 (2)
2011年12月 (2)
2011年4月 (1)
2011年1月 (1)
2008年3月 (1)
2007年9月 (1)
2007年6月 (5)
2007年3月 (1)
2007年2月 (2)
2006年7月 (2)
文章分类
Active Dictionary(1)
Ajax Aticle(2)
ASP.NET(8)
C(1)
CSS
DB2(19)
Distributed Transaction(4)
DOS Command(7)
Graphics Programming(11)
IMAP(1)
Multi thread (1)
Oracle(10)
Others(3)
Outlook(1)
Programme Stock(6)
Project Deployment(8)
Regex(3)
SQL Server(10)
VSTO
WinForm(1)
相册
Candy & me
友情链接
Daiwei's Blog
Daiwei's MSN
Isabella'MSN share space
披头四
王阳博客
王阳的Blog
小雨的窝
星亮的Blog
张峰的Blog
最新评论
阅读排行榜
评论排行榜
推荐排行榜