自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Levi Liu(liushmh)

有之以为利,无之以为用

  • 博客(45)
  • 收藏
  • 关注

原创 linux device driver

The ioctl MethodLike char devices, block devices can be acted on by using the ioctl system call.The only relevant difference between block and char ioctl implementations is thatblock drivers share a n

2005-03-13 21:39:00 1398

原创 Java send mail

import javax.mail.*; import javax.mail.internet.*; import java.util.*; //This function can be used to send the mail // with the parameters given to it //U have to specify the smtp server through //whi

2005-03-09 19:05:00 1142

原创 dot net tool URL

http://www.sellsbrothers.com/tools/#regexd

2005-02-24 10:28:00 1016

原创 .net assistant tools collection

http://dev.csdn.net/article/31/31277.shtmCode generation NVelocity CodeSmith X-Code .NET XGoF - NMatrix / DEVerestCompilationeXtensible C# - ResolveCorp Mono DotGNU - GNUObfuscat

2005-02-23 17:40:00 904

原创 [C#]Visual C#的Excel编程

fuxing 发表于 2004-8-25 10:05:00作者:wyhw Excel是微软公司办公自动化套件中的一个软件,他主要是用来处理电子表格。Excel以其功能强大,界面友好等受到了许多用户的欢迎。在办公的时候,正是由于Excel的这么多的优点,许多重要的数据,往往以Excel电子表格的形式存储起来。这样就给程序员带来了一个问题,虽然Excel

2005-02-23 13:13:00 1086

原创 四书五经

《大学》、《论语》、《孟子》、《中庸》为四书,《易经》、《诗经》、《书经》、《礼记》、《春秋》是五经

2005-01-12 11:29:00 736

转载 如何连接oracle数据库及故障解决办法-总结 极力推荐 转贴

如何连接oracle数据库及故障解决办法-总结 极力推荐该文是我连接oracle的总结,特别适合于程序开发人员与oracle菜鸟   如何配置才能使客户端连到数据库:       要使一个客户端机器能连接oracle数据库,需要在客户端机器上安装oracle的客户端软件,唯一的例外就是java连接数据库的时候,可以用jdbc thin模式,不用装oracle的客户端软件。加入你在机器上

2005-01-06 11:50:00 1345

转载 The Free Lunch Is Over: A Fundamental Turn Toward Concurrency in Software 转贴

The Free Lunch Is Over: A Fundamental Turn Toward Concurrency in Software<!--MSFPhover = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 )

2005-01-05 16:44:00 2323

原创 杀人游戏的玩法

论文应该是关于社会理论的,可是内容却是对于一个游戏的社会学分析,乍看似乎有些风马牛不相及,但是在我看来却是有着莫大的关系。这一点,我在以前的一篇随笔中曾经详细的论述到过,这里索性就直接引用原文来阐述我的理由。   "时下北京的IT圈和媒体圈正流行着一个名叫"杀人"的游戏。杀人游戏的玩法大致是这样的:10-20个人大家做在一起围成圈,然后通过抽扑克牌或者其他什么决定一个人做法官主持游戏,

2005-01-05 12:24:00 1419

原创 sql server定时操作

如果在SQL Server 里需要定时或者每隔一段时间执行某个存储过程或3200字符以内的SQL语句时,可以用管理->SQL Server代理->作业来实现。1、管理->SQL Server代理->作业(按鼠标右键)->新建作业->2、新建作业属性(常规)->名称[自定义本次作业的名称]->启用的方框内是勾号-> 分类处可选择也可用默认的[未分类(本地)]->所有者默认为登录SQL Server用

2004-12-28 14:42:00 1206

原创 aspnet_regiis -c重新安装

aspnet_regiis -c重新安装

2004-12-27 10:26:00 2459 1

原创 更改终端服务的服务器端口设置

1、第一步,更改终端服务的服务器端设置。 打开注册表,找到类似这样的键值HKEY_LOCAL_MACHINE/System/CurrentControlSet/Control/Terminal Server/Wds/Repwd/Tds/Tcp, 看到那个PortNumber没有?0xd3d,这个是16进制,就是3389啦,我改...这个值是RDP(远程桌面协议)的默认值,也就是说用来配置以后新建的

2004-12-24 11:33:00 3230

原创 remoting

Here are the steps to build the server:Add a reference to the System.Runtime.Remoting.dll assembly.Implement a class that derives from MarshalByRefObject.Choose one of the provided chann

2004-12-06 14:34:00 753

原创 property procedures offers a few advantages

Using full property procedures offers a few advantages, however, including the following:It enables you to perform some basic data checking and refuse invalid information. Dont take this approa

2004-12-02 23:38:00 738

原创 System.Runtime.InteropServices.COMException(0x8004020F): The server rejected one or more recipient addresses.

这个问题需要设置可以通过指定邮件服务器进行relay的ip地址smtp->properties->access->relayadd the ip address   public bool Send(string to, string from, string subject, string message)         {              try            

2004-12-01 14:37:00 3909

原创 周日踢球的感受

上周日在万体馆外场踢了半场正式的比赛。很久没有正式踢过了,算算都有半年多。体力,还有力量是个很大的问题,踢了35分钟左右,竟然完场后抽筋,看来平时打网球的运动量似乎太小了比较巧的是居然碰到以前足球学校的一个同学,他在那里做裁判,世界还真是小!现在我发现自己的头脑太容易发热了,居然拿到球怎么都不能冷静下来,即便是后来想的时候,都是心潮澎湃,估计是很久没有这么兴奋了,碰到球弄得什么都忘了。希望下次踢球

2004-11-29 18:05:00 727

原创 .net中的page code

GetEncoding 方法依赖于基础平台支持大部分代码页。但是,对于下列情况提供系统支持:默认编码,即在执行此方法的计算机的区域设置中指定的编码;Little-Endian Unicode (UTF-16LE);Big-Endian Unicode (UTF-16BE);Windows 操作系统 (windows-1252);UTF-7;UTF-8;ASCII 以及 GB18030(简体中文)。

2004-11-20 16:45:00 863

原创 不知道asp.net 1.1中怎么设置默认button

好像只能用javascript来做,又不是特别会,但是项目中出现这样的需求发现portal start kit中的sign-in按钮居然是被设置成默认的按钮,后来发现是个image button看来第一个image button会被系统设置为default button好在asp 2.0可以直接设置了,不过也得多看看javascript了

2004-11-17 14:40:00 948

原创 如果一切正常,看来周四可以去踢球了

联系了csdn 的队伍

2004-11-16 10:39:00 679

原创 format in datetime

using System;using System.Globalization; public class MainClass {    public static void Main(string[] args)  {       DateTime dt = DateTime.Now;       String[] format = {           "d", "D",        

2004-11-10 17:23:00 841

原创 sql server中别忘了使用ltrim

when convert int to string using function str(), sql server could fill the whitespace at left when the integers length is too short.so you cant using comparison operator just like like convenient.

2004-11-09 17:58:00 985

原创 面向服务的分析与设计原理(笔记)

链接http://www-900.ibm.com/developerWorks/cn/webservices/ws-soad1/从概念上讲,SOA 中有三个主要的抽象级别:操作:代表单个逻辑工作单元(LUW)的事务。执行操作通常会导致读、写或修改一个或多个持久性数据。SOA 操作可以直接与面向对象 (OO) 的方法相比。它们都有特定的结构化接口,并且返回结构化的响应。完全同方法一样,特定操

2004-11-02 13:42:00 1031

原创 Automatic Transactions and .NET Framework Classes

Instances of a .NET Framework class can participate in an automatic transaction, as long as you prepare the class to do so. Each resource accessed by a class instance, or object, enlists in the transa

2004-10-28 15:02:00 676

转载 ASP .NET 中的身份验证:.NET 安全性指导

http://www.microsoft.com/China/Community/program/originalarticles/TechDoc/NETcertification.mspx

2004-10-28 11:28:00 878

转载 gc 通往自由的大道

http://www.microsoft.com/china/community/program/originalarticles/TechDoc/GCview.mspx

2004-10-28 11:27:00 848

原创 Design-Time Metadata Attributes for Properties

AttributeDescriptionBindableAttribute Specifies whether it is meaningful to bind data to the property. Well discuss data binding in Chapter 16, "Data-Bound Controls."Brows

2004-10-21 11:17:00 621

原创 datagrid非 templated column中取出值

e.Item.Cells[nColumnIndex].Controls[0]

2004-10-21 09:35:00 510

原创 DataSet or DataReader?

When I talk with working developers, the question I hear most often is: Which is the right approach? The answer depends on your problem domain. The DataReader is a forward-only fire hose for data. It

2004-10-16 13:14:00 727

原创 transaction across server

you would use .NETs Enterprise Services, which is the .NET wrapper to COM+. However, I will not be covering Enterprise Services in this book. If you need some information on transactional programming

2004-10-16 12:54:00 628

原创 黄健翔说中国足球败因

首先,组织中后卫郑智停赛,给后防线造成很大损失。但是他在同马来西亚的比赛 中吃到红牌,包括与马来西亚的客场,我们非常难看的赢了个1:0,应该说都不是偶然的,都是一系列环环相扣的种种现象累积在一起才造成在今天关键的比赛中的失败。   其次,守门员环节上。虽然今天多次救险,除了对方的必进球,但是对失球还是负有一定的责任。与在亚洲杯的决赛中表现出来的问题一样,从禁区两侧传来的空中球,过点的判断,出击

2004-10-14 09:24:00 1206

原创 how to using CommandArgument in DataGrid

<asp:LinkButton runat="server" CommandName="Select" Text="Details" CommandArgument= /> This primary key field information could then be extracted in the ItemCommand event

2004-10-12 10:35:00 794

原创 The difference between Server.Transfer and Response.Redirect

You may want to redirect users from one Web Forms page to another page. You might do this to display a page that is matched to the users browser capabilities or is written in the language that the us

2004-10-11 15:30:00 685

原创 transaction in dot net

Phantoms Transaction 1 reads a set of rows returned by a specified WHERE clause. Transaction 2 then inserts a new row, which also happens to satisfy the WHERE clause of the query previously used b

2004-10-11 15:25:00 746

原创 FormsAuthentication.SetAuthCookie函数使用无效

FormsAuthentication.SetAuthCookie无法改变Request.IsAuthenticated的状态其原因可能是web.config中使用的验证模式是windows的,改为如下即可:           

2004-10-08 19:19:00 4516 2

转载 Optimizing and Performance Tuning IIS 6.0

Microsofts Internet Information Services (IIS) has come a very long way since its beginning in 1996. With many businesses now using some version of IIS, it has been important for Microsoft to keep ro

2004-09-28 13:32:00 1348

原创 显示器坏了

故障现象二:开机后,电源指示灯不亮,无显示。  分析与维修:根据故障现象分析,电源指示灯不亮,说明直流电路异常。测整流桥堆有输出,但压降波动较大。关机,静态下测开关管是否正常,均正常;此类显示器一般均设有过流(或过压)保护装置,当行扫描电路输出异常时,测得电源电压+110V,从而判断行扫描回路存在“过载”现象;用万用表检测行输出电路,实测发现阻尼二极管已被击穿,形成通路。更换后,故障排除。这样修算

2004-09-27 12:03:00 1144 1

原创 运用SmartNavigation,结果javascript不能弹出窗口

今天碰到了javascript窗口无法弹出,找了一个下午,终于发现是smartnavigation在作怪,后来在网上发现此文,特收于myblog以下内容来自http://blog.joycode.com/zjf/archive/2004/07/15/27418.aspxSmartNavigation可以减少页面刷新,它还是加载以前的ViewState,页面输出的Html并不改变,因此无论是用R

2004-09-24 17:18:00 888

原创 我读道德经(1)

    信言不美,美言不信。  善者不辩,辩者不善。  知者不博,博者不知。  圣人不积,既以为人己愈有,既以与人己愈多。    天之道,利而不害;圣人之道,为而不争。    是以兵强则灭,木强则折。  强大处下,柔弱处上。《老子》第十一章                     三十辐,共一毂,当其无,有车之用。  埏埴以为器,当其无,有器之用。  凿户牖

2004-09-23 11:34:00 911

原创 notepad使用时的一个奇怪的问题

症状如下:使用的时候,切换到中文输入法,输入字符居然是从右到左的,而且滚动条也从右边换到了左边.后来在语言和区域选项中把 为复杂文字和从右到左的语言安装文件 选项取消问题解决.不知道是什么时候把这个东西选上了,弄得记事本中文输入就没有正常使用过.

2004-09-22 10:01:00 730

原创 .log 在notepad中的使用

.log如果放在文本文件的最前面,那么就会在每次打开文本文件的时候自动添加时间和日期,这样可以作为日志文件使用同时编辑txt文档的时候,输入F5可以插入日期和时间.

2004-09-22 09:47:00 1245

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除