<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Maxer 's Blog</title><subtitle type="text">态度决定一切，理想成就未来！</subtitle><id>http://feed.cnblogs.com/blog/u/16230/rss</id><updated>2006-10-17T02:38:01Z</updated><author><name>Maxer`s Blog</name><uri>http://www.cnblogs.com/Maxer/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Maxer/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/16230/rss"/><entry><id>http://www.cnblogs.com/Maxer/archive/2006/09/06/496516.html</id><title type="text">用C#生成随机中文汉字验证码(转)</title><summary type="text">前几天去申请免费QQ号码，突然发现申请表单中的验证码内容换成了中文，这叫真叫我大跌眼镜感到好笑，Moper上的猫儿们都大骂腾讯采用中文验证码。^_^  我不得不佩服腾讯为了防止目前网络上横行的QQ号码自动注册机而采取中文验证码的手段。仔细想了想感觉用程序生成随机的中文验证码并不是很难，下面就来介绍一下使用C#生成随机的中文汉字的原理。  1、汉字编码原理  到底怎么办到随机生成汉字的呢？汉字从哪里...</summary><published>2006-09-06T08:33:00Z</published><updated>2006-09-06T08:33:00Z</updated><author><name>Maxer`s Blog</name><uri>http://www.cnblogs.com/Maxer/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Maxer/archive/2006/09/06/496516.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Maxer/archive/2006/09/06/496516.html"/></entry><entry><id>http://www.cnblogs.com/Maxer/archive/2006/09/05/495001.html</id><title type="text">序列化与反序列化</title><summary type="text">//测试代码 FtpConfig config=new FtpConfig(); config.FtpAddress="111.111.111.111"; config.FtpMode="PASV"; config.FtpPort="21"; config.UserName="abc"; config.PassWord="abcd"; XmlSerializer xmlSer=new XmlSer...</summary><published>2006-09-05T02:44:00Z</published><updated>2006-09-05T02:44:00Z</updated><author><name>Maxer`s Blog</name><uri>http://www.cnblogs.com/Maxer/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Maxer/archive/2006/09/05/495001.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Maxer/archive/2006/09/05/495001.html"/></entry><entry><id>http://www.cnblogs.com/Maxer/archive/2006/09/02/493191.html</id><title type="text">大家救命啊：系统表更新导致数据库崩溃，有没有办法还原? //以解决，谢谢大家关注</title><summary type="text">只要恢复存储过程和表结构。 各位论坛的达人。十万火急的紧急问题求助！最近这两周，我们部门正在做一个项目的重要升级。（主要是存储过程方面的，当然也加了一些表和修改了一部分程序的源代码）昨天下午左右，项目经理让我更改一些表的数据库字段属性,把Description字段类型从NTEXT改为VARCHAR，由于表比较多，结构都是一样的（就是一年中每天一张表，记详单数据的，查了一下，大约有200左右个表的类...</summary><published>2006-09-02T10:37:00Z</published><updated>2006-09-02T10:37:00Z</updated><author><name>Maxer`s Blog</name><uri>http://www.cnblogs.com/Maxer/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Maxer/archive/2006/09/02/493191.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Maxer/archive/2006/09/02/493191.html"/></entry><entry><id>http://www.cnblogs.com/Maxer/archive/2006/08/09/472137.html</id><title type="text">一些我收集的常用正则表达式</title><summary type="text">下面都是我收集的一些比较常用的正则表达式，因为平常可能在表单验证的时候，用到的比较多。特发出来，让各位朋友共同使用。呵呵。匹配中文字符的正则表达式： [\u4e00-\u9fa5]评注：匹配中文还真是个头疼的事，有了这个表达式就好办了匹配双字节字符(包括汉字在内)：[^\x00-\xff]评注：可以用来计算字符串的长度（一个双字节字符长度计2，ASCII字符计1）匹配空白行的正则表达式：\n\s*...</summary><published>2006-08-09T05:13:00Z</published><updated>2006-08-09T05:13:00Z</updated><author><name>Maxer`s Blog</name><uri>http://www.cnblogs.com/Maxer/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Maxer/archive/2006/08/09/472137.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Maxer/archive/2006/08/09/472137.html"/></entry><entry><id>http://www.cnblogs.com/Maxer/archive/2006/08/09/472132.html</id><title type="text">JS常用正则表达式</title><summary type="text">匹配中文字符的正则表达式：[\u4e00-\u9fa5]匹配双字节字符(包括汉字在内)：[^\x00-\xff]匹配空行的正则表达式：\n[\s|]*\r匹配HTML标记的正则表达式：/&amp;lt;(.*)&amp;gt;.*&amp;lt;\/\1&amp;gt;|&amp;lt;(.*)\/&amp;gt;/匹配首尾空格的正则表达式：(^\s*)|(\s*$)匹配Email地址的正则表达式：\w+([-+.]\w+)*@\w+([-.]...</summary><published>2006-08-09T05:10:00Z</published><updated>2006-08-09T05:10:00Z</updated><author><name>Maxer`s Blog</name><uri>http://www.cnblogs.com/Maxer/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Maxer/archive/2006/08/09/472132.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Maxer/archive/2006/08/09/472132.html"/></entry><entry><id>http://www.cnblogs.com/Maxer/archive/2006/08/06/469279.html</id><title type="text">SQLServer和Access、Excel数据传输简单总结</title><summary type="text">所谓的数据传输，其实是指SQLServer访问Access、Excel间的数据。为什么要考虑到这个问题呢？由于历史的原因，客户以前的数据很多都是在存入在文本数据库中，如Acess、Excel、Foxpro。现在系统升级及数据库服务器如 SQLServer、ORACLE后，经常需要访问文本数据库中的数据，所以就会产生这样的需求。前段时间出差的项目，就是面临这样的一个问题： SQLServer和VFP...</summary><published>2006-08-06T09:18:00Z</published><updated>2006-08-06T09:18:00Z</updated><author><name>Maxer`s Blog</name><uri>http://www.cnblogs.com/Maxer/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Maxer/archive/2006/08/06/469279.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Maxer/archive/2006/08/06/469279.html"/></entry><entry><id>http://www.cnblogs.com/Maxer/archive/2006/07/24/458103.html</id><title type="text">动态SQL语句 </title><summary type="text">1:普通SQL语句可以用Exec执行eg: Select * from tableName Exec('select * from tableName') sp_executesql N'select * from tableName' -- 请注意字符串前一定要加N2:字段名，表名，数据库名之类作为变量时，必须用动态SQLeg: declare @fname varchar(20) set @f...</summary><published>2006-07-24T02:25:00Z</published><updated>2006-07-24T02:25:00Z</updated><author><name>Maxer`s Blog</name><uri>http://www.cnblogs.com/Maxer/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Maxer/archive/2006/07/24/458103.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Maxer/archive/2006/07/24/458103.html"/></entry><entry><id>http://www.cnblogs.com/Maxer/archive/2006/06/08/420318.html</id><title type="text">转-javascript 问题集合</title><summary type="text">1.document.write(""); 输出语句 2.JS中的注释为// 3.传统的HTML文档顺序是:document-&amp;gt;html-&amp;gt;(head,body) 4.一个浏览器窗口中的DOM顺序是:window-&amp;gt;(navigator,screen,history,location,document) 5.得到表单中元素的名称和值:document.getElementById...</summary><published>2006-06-08T01:58:00Z</published><updated>2006-06-08T01:58:00Z</updated><author><name>Maxer`s Blog</name><uri>http://www.cnblogs.com/Maxer/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Maxer/archive/2006/06/08/420318.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Maxer/archive/2006/06/08/420318.html"/></entry><entry><id>http://www.cnblogs.com/Maxer/archive/2006/05/11/397394.html</id><title type="text">使用Session常见问题集锦</title><summary type="text">问：为什么Session在有些机器上偶尔会丢失？答：可能和机器的环境有关系，比如：防火墙或者杀毒软件等，尝试关闭防火墙。问：为什么当调用Session.Abandon时并没有激发Session_End方法？答：首先Session_End方法只支持InProc（进程内的）类型的Session。其次要激发Session_End方法，必须存在Session（即系统中已经使用Session了），并且至少要...</summary><published>2006-05-11T07:53:00Z</published><updated>2006-05-11T07:53:00Z</updated><author><name>Maxer`s Blog</name><uri>http://www.cnblogs.com/Maxer/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Maxer/archive/2006/05/11/397394.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Maxer/archive/2006/05/11/397394.html"/></entry><entry><id>http://www.cnblogs.com/Maxer/archive/2006/04/27/386375.html</id><title type="text">TreeView控件问题汇总</title><summary type="text">1.下载地址 http://msdn.microsoft.com/downloads/samples/internet/ASP_DOT_NET_ServerControls/WebControls/default.asp 安装后，通过“自定义工具箱”-&amp;gt;“.net框架组件”把TreeView添加到工具箱里2.运行时无法显示 一般是TreeView的版本问题，最好下载英文版自动安装版本重新安装...</summary><published>2006-04-27T03:04:00Z</published><updated>2006-04-27T03:04:00Z</updated><author><name>Maxer`s Blog</name><uri>http://www.cnblogs.com/Maxer/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Maxer/archive/2006/04/27/386375.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Maxer/archive/2006/04/27/386375.html"/></entry></feed>
