fellowcheng

无可奈何花落去

博客园 首页 新随笔 联系 订阅 管理

2009年1月5日 #

摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 无标题页 ... 阅读全文
posted @ 2009-01-05 13:53 乌鸦 阅读(1649) 评论(0) 推荐(0) 编辑

2008年8月22日 #

摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/*************************************************************************** * word辅助类 * 作者:c... 阅读全文
posted @ 2008-08-22 17:19 乌鸦 阅读(14452) 评论(3) 推荐(7) 编辑

2006年11月6日 #

摘要: Asp.net中基于Forms验证的角色验证授权 Asp.net的身份验证有有三种,分别是"Windows | Forms | Passport",其中又以Forms验证用的最多,也最灵活。Forms 验证方式对基于用户的验证授权提供了很好的支持,可以通过一个登录页面验证用户的身份,将此用户的身份发回到客户端的Cook... 阅读全文
posted @ 2006-11-06 10:04 乌鸦 阅读(132) 评论(0) 推荐(0) 编辑

2006年10月19日 #

摘要: //********************************************************************************************************************////本模块是用于数据访问的类////**************************************************************... 阅读全文
posted @ 2006-10-19 11:03 乌鸦 阅读(3217) 评论(0) 推荐(0) 编辑

2006年9月9日 #

摘要: 中国人寿诈骗的内幕 (转自杭州网论坛) 我曾是温州中国人寿保险公司业务员, 最近看到了网上很多有关保险的文章,我来向 大家解释一下保险行业的现状,细读之后您将终生受益非浅。 1, 保险的业务员保守估计20%是在诈骗客户。这里包括有意和无意的。 保险公司的业务员超高淘汰率,是对客户极不负责任行为。 例如:有人事后发现被某保险业务员骗了,向该保险公司投诉,此时该业务员已离开了公司。这时连投诉也是“瞎... 阅读全文
posted @ 2006-09-09 20:50 乌鸦 阅读(1517) 评论(5) 推荐(0) 编辑

2005年5月10日 #

摘要: private System.Messaging.MessageQueue mqAsy; private void AsyReceive() { if(MessageQueue.Exists(@".\myQueue")) //creates an instance MessageQueue, which points to the already existing MyQue... 阅读全文
posted @ 2005-05-10 13:54 乌鸦 阅读(734) 评论(0) 推荐(0) 编辑

2005年1月21日 #

摘要: mainMenu触发两次form_sizechange事件: 如果在设计模式下点击窗体的属性->事件->SizeChanged来自动生成窗体的事件(也就是在系统自动生成的InitializeComponent()方法中写入 this.SizeChanged += new System.EventHandler(this.frmMain_SizeChanged);),同时如果窗体中有一个main... 阅读全文
posted @ 2005-01-21 13:22 乌鸦 阅读(1870) 评论(0) 推荐(0) 编辑

2005年1月20日 #

摘要: 跟踪数据连接池状态的方法: http://www.yesky.com/SoftChannel/72342380484755456/20020930/1633376_2.shtml 监视链接池化 要监视应用程序对链接池化的应用情况,可以使用随SQL Server发行的Profiler工具,或随微软Windows 2000发行的性能监视器。 要利用SQL Server Profiler ... 阅读全文
posted @ 2005-01-20 15:57 乌鸦 阅读(611) 评论(0) 推荐(0) 编辑

2005年1月14日 #

摘要: /* 因为收集了许多C#编程方面的小技巧,为了便于查看,便做了这个小程序 */ //操作TreeView,生成文件目录树 using System; using System.IO; using System.Windows.Forms; using System.Collections; namespace codeView { /// /// loadFiles 的摘要说明。 /... 阅读全文
posted @ 2005-01-14 13:35 乌鸦 阅读(1339) 评论(0) 推荐(0) 编辑

2005年1月8日 #

摘要: 在网上收集的一些代码 一、增加COMBOBOX列: //在网格控件中增加一列为下拉列表框 DataGridTableStyle dgdtblStyle = new DataGridTableStyle(); dgdtblStyle.MappingName = dtlList.TableName; dataGridIn.TableStyles.Add(dgdtblStyle)... 阅读全文
posted @ 2005-01-08 10:23 乌鸦 阅读(1354) 评论(0) 推荐(0) 编辑