<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[shaohang2008的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/shaohang2008</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; shaohang2008]]></copyright><item><title><![CDATA[JQuery 对服务器控件 DropdownList, RadioButtonList, CheckboxList的操作总结]]></title><link>https://blog.youkuaiyun.com/shaohang2008/article/details/6700892</link><guid>https://blog.youkuaiyun.com/shaohang2008/article/details/6700892</guid><author>shaohang2008</author><pubDate>Fri, 19 Aug 2011 11:12:01 +0800</pubDate><description><![CDATA[一： DropDownList
-------------------------------------------------------------------------------------------
在使用 JQuery 进行遍历操作时， 
$("input]]></description><category></category></item><item><title><![CDATA[深入解析IE兼容模式]]></title><link>https://blog.youkuaiyun.com/shaohang2008/article/details/6700842</link><guid>https://blog.youkuaiyun.com/shaohang2008/article/details/6700842</guid><author>shaohang2008</author><pubDate>Fri, 19 Aug 2011 11:04:11 +0800</pubDate><description><![CDATA[英文原文：http://msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx
文件兼容性用于定义让IE如何编译你的网页。此文件解释文件兼容性，如何指定你网站的文件兼容性模式以及如何判断一个网页该使用的文件模式。

前言]]></description><category></category></item><item><title><![CDATA[ASP.NET中导入和导出标准Excel文件（转）]]></title><link>https://blog.youkuaiyun.com/shaohang2008/article/details/6693685</link><guid>https://blog.youkuaiyun.com/shaohang2008/article/details/6693685</guid><author>shaohang2008</author><pubDate>Wed, 17 Aug 2011 09:16:27 +0800</pubDate><description><![CDATA[本文所演示的导入和导出方法并未使用Excel COM组件，而是使用原始的ASP.NET OleDb驱动程序，这使得ASP.NET应用程序即使部署在未安装Excel的服务器上也同样能支持导入和导出校准的Excel格式文件。




本文所演示的导入和导出方法并未使用Exc]]></description><category></category></item><item><title><![CDATA[JS只能输入数字，数字和字母等的正则表达式]]></title><link>https://blog.youkuaiyun.com/shaohang2008/article/details/6660441</link><guid>https://blog.youkuaiyun.com/shaohang2008/article/details/6660441</guid><author>shaohang2008</author><pubDate>Thu, 04 Aug 2011 16:45:07 +0800</pubDate><description><![CDATA[1.文本框只能输入数字代码(小数点也不能输入)

2.只能输入数字,能输小数点.


3.数字和小数点方法二
<input type=text t_value="" o_value="" onkeypress="if(!this.value.match(/^[\+\-]]></description><category></category></item><item><title><![CDATA[实现最小高度，兼容Ie6,点击图片后留下的边框纹纹，块级元素浮动]]></title><link>https://blog.youkuaiyun.com/shaohang2008/article/details/6321480</link><guid>https://blog.youkuaiyun.com/shaohang2008/article/details/6321480</guid><author>shaohang2008</author><pubDate>Wed, 13 Apr 2011 20:24:00 +0800</pubDate><description><![CDATA[http://www.w3.org/1999/xhtml"> 三个div利用float和width让三个div显示在一个div中或者一个行元素中，或者把用span使其display为block-->三个div利用float和width让三个div显示在一个div中或者一个行元素中，或者把用span  使其display为block           #bg{     background-color:#FC3;     height:40px;     width:320px;     /**      ]]></description><category></category></item><item><title><![CDATA[SQL Server 2005 不允许远程连接解决方法]]></title><link>https://blog.youkuaiyun.com/shaohang2008/article/details/6312084</link><guid>https://blog.youkuaiyun.com/shaohang2008/article/details/6312084</guid><author>shaohang2008</author><pubDate>Sat, 09 Apr 2011 16:55:00 +0800</pubDate><description><![CDATA[刚刚安装的数据库系统，按照默认安装的话，很可能在进行远程连接时报错，通常是错误:"在连接到 SQL Server 2005 时，在默认的设置下 SQL Server 不允许进行远程连接可能会导致此失败。 (provider: 命名管道提供程序, error: 40 - 无法打开到 SQL Server 的连接) "搜MSDN，上面有一片机器翻译的文章，是在让人难以明白，现在总结如下：明白了SQL Server是个网络数据库就可迎刃而解了，简单的分为下面的集中情况。      1. 数据库引擎没有启动。   ]]></description><category></category></item><item><title><![CDATA[SQL Server2005 安装后只有配置工具]]></title><link>https://blog.youkuaiyun.com/shaohang2008/article/details/6311725</link><guid>https://blog.youkuaiyun.com/shaohang2008/article/details/6311725</guid><author>shaohang2008</author><pubDate>Sat, 09 Apr 2011 13:57:00 +0800</pubDate><description><![CDATA[        今天安装完SQL Server2005 后，在开始菜单中只有配置工具，安装的时候该选择的都选上了，感觉不对劲，那查询分析器和企业管理器跑哪里去了。网上百度了一下，遇到这个问题的还朋友还不少，有的说是因为安装的企业版，ｘｐ不支持，其实只需要下载个     Microsoft SQL Server Management Studio Express(SSMSE)          于是，赶紧到官方网站上下载了个，安装后。一切恢复正常了，呵呵！原来SQL 2005 SQL Server 2005管]]></description><category></category></item><item><title><![CDATA[Fckeditor在asp.net中的使用方法]]></title><link>https://blog.youkuaiyun.com/shaohang2008/article/details/6310578</link><guid>https://blog.youkuaiyun.com/shaohang2008/article/details/6310578</guid><author>shaohang2008</author><pubDate>Fri, 08 Apr 2011 12:04:00 +0800</pubDate><description><![CDATA[FCKeditor是目前最好的html文本编辑器，freetextbox已经不再是开源的，而Fckeditor却是开源的。      1.官方下载网址：http://ckeditor.com/download    2.下载需要下载两个.zip压缩包，要下载FCKeditor2.6.5.zip和 FCKeditor.NET版的2个zip包。如图所示：                     2.分别解压后把FCKeditor2.6.5.zip里的fckeditor目录整个复制到网站中。  3.解压FCKed]]></description><category></category></item><item><title><![CDATA[Live Writer 写优快云博客的使用心得]]></title><link>https://blog.youkuaiyun.com/shaohang2008/article/details/6310475</link><guid>https://blog.youkuaiyun.com/shaohang2008/article/details/6310475</guid><author>shaohang2008</author><pubDate>Fri, 08 Apr 2011 12:04:00 +0800</pubDate><description><![CDATA[Microsoft发布的Windows Live Writer是一款管理个人博客的客户端工具。官方下载地址是：这里 。Windows Live Writer不光支持Windows Live Spaces的用户使用，同时支持现在网络上的其他流行的一系列的Blog内容管理系统。              用Windows Live Writer写优快云博客的步骤如下：        安装Windows Live Writer后，会有一个添加账户的向导        在第一步“选择博客类型”时，选择“其它博客服]]></description><category></category></item><item><title><![CDATA[改进的防盗链功能]]></title><link>https://blog.youkuaiyun.com/shaohang2008/article/details/6210010</link><guid>https://blog.youkuaiyun.com/shaohang2008/article/details/6210010</guid><author>shaohang2008</author><pubDate>Sat, 26 Feb 2011 17:08:00 +0800</pubDate><description><![CDATA[在其前导页设置Session，通过检查Session是否为空来判断用户是否是通过正常途径下载的。using System;using System.Data;using System.Configuration;susing System.Web;using System.Web.Security;using System.Web.SessionState;using System.Web.UI;using System.Web.UI.WebControls;us]]></description><category></category></item><item><title><![CDATA[通过检查前导页实现的简单的防盗链功能]]></title><link>https://blog.youkuaiyun.com/shaohang2008/article/details/6209991</link><guid>https://blog.youkuaiyun.com/shaohang2008/article/details/6209991</guid><author>shaohang2008</author><pubDate>Sat, 26 Feb 2011 16:55:00 +0800</pubDate><description><![CDATA[<br />    其思路如下：获取用户访问下载资源之前的前导页，检查其主机部分是不是与当前主机在同一域名下，如果是则通过正常途径下载的，如果不是，则是通过外部链接下载的。<br />    在asp.net中可以通过HttpRequest的UrlReferrer属性拉获取客户端上次请求的URL信息，用户就是根据上次的URL地址跳转到当前URL地址的。在IHttpHandler的ProcessRequest(HttpContent content)方法中传入了一个HttpContent类的实例，通过这个Ht]]></description><category></category></item><item><title><![CDATA[给图片动态添加水印功能]]></title><link>https://blog.youkuaiyun.com/shaohang2008/article/details/6209914</link><guid>https://blog.youkuaiyun.com/shaohang2008/article/details/6209914</guid><author>shaohang2008</author><pubDate>Sat, 26 Feb 2011 16:07:00 +0800</pubDate><description><![CDATA[动态添加水印功能同样需要增加自定义的实现IHttpHandle的类（WaterMarkHandlers），并在webconfig的根节点下增加一个节点。using System;using System.Web;using System.Drawing;using]]></description><category></category></item><item><title><![CDATA[实现自定义文件类型处理]]></title><link>https://blog.youkuaiyun.com/shaohang2008/article/details/6209636</link><guid>https://blog.youkuaiyun.com/shaohang2008/article/details/6209636</guid><author>shaohang2008</author><pubDate>Sat, 26 Feb 2011 14:26:00 +0800</pubDate><description><![CDATA[   如处理文件的类型为.dspx， 先编写一个实现IHttpHandler接口的类：MyHttpHandler，然后坐在webconfig中添加对.dspx文件的HttpHandler，在中添加一个节点，如下所示：using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebCont]]></description><category></category></item><item><title><![CDATA[数据安全技术几种加密算法]]></title><link>https://blog.youkuaiyun.com/shaohang2008/article/details/6207583</link><guid>https://blog.youkuaiyun.com/shaohang2008/article/details/6207583</guid><author>shaohang2008</author><pubDate>Fri, 25 Feb 2011 14:24:00 +0800</pubDate><description><![CDATA[<br />1.自定义加密 Base64编码与其他编码转换<br />using System;<br />using System.Text;<br />/// <summary><br />/// 实现Base64编码与其它编码转换的类<br />/// </summary> <br />public class Base64Provider<br />{<br /> private Base64Provider()<br /> { <br /> }<br />    /// <summary><br ]]></description><category></category></item><item><title><![CDATA[GDI+验证码实现]]></title><link>https://blog.youkuaiyun.com/shaohang2008/article/details/6203662</link><guid>https://blog.youkuaiyun.com/shaohang2008/article/details/6203662</guid><author>shaohang2008</author><pubDate>Wed, 23 Feb 2011 22:17:00 +0800</pubDate><description><![CDATA[      //验证码中可能会出现的字符集合        string checkCodeString="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";        int length = checkCodeString.Length;//验证码字符集合的长度        //设置以宋体来绘制验证字符，并且设置绘制形式为粗体        Font font = new Font("宋体", 24,FontStyle.Strikeout);        Brush b]]></description><category></category></item><item><title><![CDATA[GDI生成图片]]></title><link>https://blog.youkuaiyun.com/shaohang2008/article/details/6203225</link><guid>https://blog.youkuaiyun.com/shaohang2008/article/details/6203225</guid><author>shaohang2008</author><pubDate>Wed, 23 Feb 2011 18:21:00 +0800</pubDate><description><![CDATA[      //实例化Bitmap        Bitmap image = new Bitmap(300, 50);        //从bitmap实例创建Graphics实例        Graphics graphics = Graphics.FromImage(image);        //以黑色填充图片        graphics.Clear(Color.Black);        //定义绘制文字的字体和大小        Font font = new Font("宋体", 1]]></description><category></category></item><item><title><![CDATA[C#与JavaScript交互 ]]></title><link>https://blog.youkuaiyun.com/shaohang2008/article/details/6142660</link><guid>https://blog.youkuaiyun.com/shaohang2008/article/details/6142660</guid><author>shaohang2008</author><pubDate>Sat, 15 Jan 2011 18:41:00 +0800</pubDate><description><![CDATA[C#代码与javaScript函数的相互调用问：1.如何在JavaScript访问C#函数?2.如何在JavaScript访问C#变量?3.如何在C#中访问JavaScript的已有变量?4.如何在C#中访问JavaScript函数?问题1答案如下：javaScript函数中执行C#代码中的函数：方法一：1、首先建立一个按钮，在后台将调用或处理的内容写入button_click中;        2、在前台写一个js函数，内容为document.getElementById("btn1").click();]]></description><category></category></item><item><title><![CDATA[sql server 2005 错误为sql native client 客户端不支持加密]]></title><link>https://blog.youkuaiyun.com/shaohang2008/article/details/6032062</link><guid>https://blog.youkuaiyun.com/shaohang2008/article/details/6032062</guid><author>shaohang2008</author><pubDate>Wed, 24 Nov 2010 14:14:00 +0800</pubDate><description><![CDATA[<br />这两天安装sqlserver2005遇到一下问题：<br />出错信息: <br />SQL Server 安装程序无法连接到数据库服务进行服务器配置。 错误为: [Microsoft][SQL Native Client]客户端不支持加密。 <br />有关详细信息，请参阅服务器错误日志和安装日志。有关如何查看安装日志的详细信息，请参阅 SQL Server 联机丛书中的“如何查看安装日志文件”。<br /><br />解决方案：<br />在安装和卸载程序里面,把SQL Native Cli]]></description><category></category></item><item><title><![CDATA[asp.net下载文件的常用方法大全]]></title><link>https://blog.youkuaiyun.com/shaohang2008/article/details/5938477</link><guid>https://blog.youkuaiyun.com/shaohang2008/article/details/5938477</guid><author>shaohang2008</author><pubDate>Wed, 13 Oct 2010 15:28:00 +0800</pubDate><description><![CDATA[<br />//TransmitFile实现下载<br />         protected void Button1_Click1(object sender, EventArgs e)<br />        {<br />            /*<br />             微软为Response对象提供了一个新的方法TransmitFile来解决使用Response.BinaryWrite<br />             下载超过400mb的文件时导致Aspnet_wp.exe]]></description><category></category></item><item><title><![CDATA[程序员：下一次面试前你需要准备的五个基本步骤]]></title><link>https://blog.youkuaiyun.com/shaohang2008/article/details/5922731</link><guid>https://blog.youkuaiyun.com/shaohang2008/article/details/5922731</guid><author>shaohang2008</author><pubDate>Tue, 05 Oct 2010 18:55:00 +0800</pubDate><description><![CDATA[<br />程序员：下一次面试前你需要准备的五个基本步骤<br />导读：面试准备的重要性不用编者多言，大家都很清楚。本文是加拿大的一位程序员所写。大家可以看看国外程序员是怎么准备面试的。不管你是否认同他的说法，《诗经》中有句话非常好——“它山之石，可以攻玉”。如果你还有其他面试准备方法，不妨在评论或微博中和大家一起分享。<br />一、开门见山<br />一般来说，你（求职者）在面试中会花很多时间谈论以前的经历。如果你还没有想出你的最具代表性的经历/案例，那么你现在是时候该做了。下面有张问题表，虽然很多问]]></description><category></category></item></channel></rss>