
Developer
FrankWin
这个作者很懒,什么都没留下…
展开
-
在xsl文档中显示空格
原创 2007-06-08 13:56:00 · 1368 阅读 · 0 评论 -
Managing Exceptions in .NET
http://www.codeguru.com/csharp/csharp/cs_syntax/errorhandling/article.php/c12971/Basically, there is lot of difference between an error and an exception. As said, an exception should be a real excep转载 2007-01-11 11:07:00 · 757 阅读 · 0 评论 -
C#排序算法
http://www.oneedu.cn/xxyd/ShowArticle.asp?ArticleID=7932&Page=1 Recopy it from internet for the old favorite link did not work.C#排序算法一、冒泡排序(Bubble) using System; namespace BubbleSorter{ publ转载 2007-01-05 11:18:00 · 693 阅读 · 0 评论 -
[IIS]windows 2003 server iis configuration
issue:If your web application installed on windows 2003 server canot work well, or display to visitor: canot found the page. solution:while install IIS server from application server options原创 2007-02-13 14:41:00 · 927 阅读 · 0 评论 -
keywords between managed c++ and c# in dotNet 2.0
For dotNet 2.0 + visual studio 2005:c# managed c++ref Type variable [Runtime::InteropServices::Out]Type variableout Type variabl原创 2007-01-05 10:19:00 · 913 阅读 · 0 评论 -
javascript中字符串连接效率
javascript中字符串连接时用Array.join()替换 string += "xx",换来几十倍的速度提升 将50000个字符串连接起来,直接用+=连接耗时17547毫秒,使用Array.join()耗时234毫秒,比前者快了近75倍!转载 2007-02-09 15:21:00 · 856 阅读 · 0 评论 -
托管代码和非托管代码效率的对比问题
http://community.youkuaiyun.com/Expert/topic/5333/5333963.xml?temp=.6378137转载 2007-02-09 15:13:00 · 980 阅读 · 0 评论 -
Deploy VC++ 2005 output files
If encounter fileloadexception while deploying vc++ 2005 output files, please refer to the following links:1. english version (passed my test)Visual C++ How to: Deploy using XCopyhttp://msdn2.micros原创 2007-02-06 09:48:00 · 921 阅读 · 0 评论 -
c#.net常用的小函数和方法集
http://tech.itdb.cn/n/200607/15/n20060715_20480.shtml Recopy it from internet for the old favorite link did not work.1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒转载 2007-01-05 10:50:00 · 704 阅读 · 0 评论 -
An Introduction to AJAX Techniques and Frameworks for ASP.NET
http://www.codeproject.com/Ajax/IntroAjaxASPNET.aspIntroductionBy now the chances are high that you have heard of AJAX in the context of web development. The acronym was coined by Jesse James Garr转载 2006-08-13 12:22:00 · 1844 阅读 · 0 评论 -
Create MSDN-style class documentation CHM files for your assemblies
http://www.codeproject.com/useritems/SandcastleCreateBat.asp<!-- Add the article text. Please use simple formatting (, etc) -->IntroductionSandcastle is Microsofts new tool for genera转载 2006-08-13 12:03:00 · 1609 阅读 · 0 评论 -
How to include a header on each page when printing a DataGrid
http://www.codeproject.com/dotnet/HeaderOnEachPage.aspIntroductionIn many situations we might use a DataGrid for reporting purposes. If the report contains many pages we will face the problem of转载 2006-08-13 11:53:00 · 815 阅读 · 0 评论 -
Using AJAX (Atlas in Asp.Net)
Date picker and Time picker in asp.net 2.0 using Ajax (With Atlas) http://www.codeproject.com/useritems/DateAndTimePicker.asp Auto complete text box using AJAX (Using Atlas)http://www.thecodep原创 2006-08-13 13:38:00 · 933 阅读 · 0 评论 -
How to: Configure Express to accept remote connections
http://blogs.msdn.com/sqlexpress/archive/2005/05/05/415084.aspxUpdatedThe information in this posting is superseded by the following KB Article:914277 How to configure SQL Server 2005 to allo转载 2006-08-18 11:34:00 · 1762 阅读 · 0 评论 -
Windows like menus on web pages
http://www.codeproject.com/jscript/dhtmlmenus.aspAbout MenusUsing JavaScript or VBScript we can produce some very cool user interface (UI) items like menus. The DIV element is useful when creatin转载 2006-08-13 13:27:00 · 871 阅读 · 0 评论 -
ASP.NET 2.0,无刷新页面新境界!
http://blog.joycode.com/kaneboy/archive/2004/07/07/26914.aspx“无刷新页面”,只是一种不确切的效果描述(其实还有其他各种方法来实现这个效果),更确切的说法是:在页面上用JavaScript调用服务器端的一个方法,然后处理返回的数据。实现它最标准的方法当然是XMLHTTP。但是,程序员都是懒惰的家伙,每个人都希望能有更方便的方法,或者,转载 2006-08-04 00:00:00 · 1703 阅读 · 0 评论 -
测试杀毒软件的一段代码![无毒无害]
下面这段代码是欧洲计算机防病毒协会开发的一种病毒代码,其中的特征码已经包含在各种杀毒软件的病毒代码库里,所以可以用做测试病毒扫描引擎。 把下面这段代码复制到记事本里,保存为文本文件,然后观察杀毒软件的变化。声明:如果你浏览本页发现有病毒,不要害怕,你应该满意你所使用的杀毒软件X5O!P%@AP[4/PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TES转载 2007-02-15 13:18:00 · 2963 阅读 · 1 评论 -
内存大于1GB导致休眠失败
内存大于1GB导致休眠失败http://support.microsoft.com/kb/909095/en-us原创 2007-02-27 14:15:00 · 1449 阅读 · 0 评论 -
Read and write a FileStream at the same time
FileStream fs1 = new FileStream("TestFile", FileMode.Open, FileAccess.Write, FileShare.Read); FileStream fs2 = new FileStream("TestFile", FileMode.Open, FileAccess.Read, FileShare.Read); IO原创 2007-01-15 16:37:00 · 1090 阅读 · 0 评论 -
客户端脚本
http://www.china1024.com/bytesoft/info_show.jsp?news_id=822转载 2007-06-08 12:47:00 · 870 阅读 · 0 评论 -
Adjust the vertical space between icons
http://www.microsoft.com/windowsxp/using/setup/tips/iconspace.mspx转载 2007-06-08 11:19:00 · 748 阅读 · 0 评论 -
C#基础概念
http://blog.youkuaiyun.com/zhanglei5415/archive/2007/05/18/1615301.aspx转载 2007-06-05 11:45:00 · 809 阅读 · 0 评论 -
[InstallShield]prevent install again when logon another user
1)turn off the update service2)http://community.installshield.com/printthread.php?t=146527&pp=40原创 2007-06-04 17:37:00 · 894 阅读 · 0 评论 -
Javascript 特效代码
http://www.codesky.net/article/doc/200508/200508115422220.htm转载 2007-06-03 09:40:00 · 885 阅读 · 0 评论 -
visual studio issues
Error opening Visual Studio solution file: Make sure the application for the project type () is installed. http://blogs.msdn.com/madenwal/archive/2006/03/10/548984.aspxI was having trouble open转载 2007-06-01 17:25:00 · 1263 阅读 · 0 评论 -
网页悬浮层
关键: position:absolute原创 2007-05-18 14:31:00 · 2047 阅读 · 0 评论 -
InstallShield: 配置 IIS 的 InstallScript 脚本
http://www.jaron.cn/chs_Others/40/2007-03/101943.shtml http://test.xiaozhu.com/CS/blogs/play/archive/2004/10/17/8382.aspx前言:用程序配置 IIS 所用到的“技术”无非是 ADSI 或者 WMI 提供的组件服务程序。可以通过 Windows Host Script 来转载 2007-05-09 16:59:00 · 1493 阅读 · 0 评论 -
IIS Installation: Cannot find the file STAXMEM.DL_
While installing IIS on windows xp, if you encountered below error message many times:Cannot find the file STAXMEM.DL_Please run this command and try again:esentutl /p %windir%/security/database转载 2007-05-09 14:29:00 · 950 阅读 · 0 评论 -
Close multi opener, parent of a web window and redirect to default home page
assume default home page is default.aspx, default first page is default.htm.default.htm:script type="text/javascript" language="javascript"> setTimeout(OpenWin()原创 2007-07-11 17:37:00 · 1240 阅读 · 0 评论 -
The authentication mechanism is unknown [Active Directory, Asp.Net]
http://blogs.devhorizon.com/blogs/reza_on_blogging/archive/2006/05/24/408.aspxReplace code:DirectoryEntry adSharepointUsers = new DirectoryEntry("LDAP://mydomain","ADUser","password"); To code:Dire转载 2007-07-03 08:38:00 · 1319 阅读 · 0 评论 -
[installshield]Check Windows media format 9 runtime files installed or not
1)File name: npwmsdrm.dll File folder: C:/Program Files/Windows Media Player Condition: File version > 9.02)File name: wmsdmod.dll File folder: C:/WINDOWS/system32 Condition: exists or n原创 2007-01-29 10:22:00 · 1163 阅读 · 0 评论 -
The 30 Minute Regex Tutorial
http://www.codeproject.com/dotnet/regextutorial.asp转载 2007-01-23 14:51:00 · 788 阅读 · 0 评论 -
Class constructors execution sequence
Static variables --> static constructors --> nonStatic constructors原创 2007-01-18 14:22:00 · 995 阅读 · 0 评论 -
One constructor without parameters must be provided for serializer
To serialize one object, its class must have one constructor with paramless. Otherwise, TypeInitializationException will be thrown to prompt you add such a constructor.原创 2007-01-18 14:20:00 · 990 阅读 · 0 评论 -
转载开源.NET项目
http://andersen.cnblogs.com/articles/330322.html 项目 网址 简介 Rainbow http://www.rainbowportal.net转载 2006-07-12 11:13:00 · 979 阅读 · 0 评论 -
Favorites from codeproject.com Nov,2006
XML data type tips in SQL Server 2005http://www.codeproject.com/dotnet/XMLdDataType.aspAge, Another Graphic Engine in .Nethttp://www.codeproject.com/useritems/another_graphic_engine.aspHow to原创 2006-11-18 13:59:00 · 775 阅读 · 0 评论 -
Web: Clear cache data for a client page
If you want the IEs setting chang from "Every visit to the page" to "Automatically", but remain the feature to refresh the page everytime:/// /// Clear cache data for a client page /// public原创 2006-07-03 13:54:00 · 993 阅读 · 0 评论 -
[转载]Asp.Net细节性问题技巧精萃
see details in http://dev.youkuaiyun.com/develop/article/84/84761.shtm转载 2006-05-14 22:30:00 · 854 阅读 · 0 评论 -
Impersonate user in ASP.Net
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/PAGHT000023.asp http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q306158 http://west-wind.com/weblog/posts/1原创 2006-04-29 23:37:00 · 1077 阅读 · 0 评论 -
Memory allocation with strings
string s1, s2;case #1:s1 = "Tom";s2 = "Tom";MessageBox.Show(string.Format("Is s2 the same reference as s1?: {0}", (Object)s2==(Object)s1));case #2:s1 = new string(t, 2);s2 = new string(t, 2);M原创 2006-03-03 09:46:00 · 820 阅读 · 0 评论