<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[REDMORE的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/REDMORE</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; REDMORE]]></copyright><item><title><![CDATA[转篇好文，分析的很透]]></title><link>https://blog.youkuaiyun.com/REDMORE/article/details/6766881</link><guid>https://blog.youkuaiyun.com/REDMORE/article/details/6766881</guid><author>REDMORE</author><pubDate>Sun, 11 Sep 2011 07:48:33 +0800</pubDate><description><![CDATA[上周抽空点了下好久不上的macfans.com.cn，发现网站打不开了，连续几天都是这样。
今天，网上有消息传过来，macfans是关闭了，老人们临时新开了一个macpaopao论坛，作为过渡
我年初买了macbook pro之后，各个mac相关的论坛都去逛了下，从macho]]></description><category></category></item><item><title><![CDATA[获取用户IP的方法]]></title><link>https://blog.youkuaiyun.com/REDMORE/article/details/6546426</link><guid>https://blog.youkuaiyun.com/REDMORE/article/details/6546426</guid><author>REDMORE</author><pubDate>Wed, 15 Jun 2011 16:04:00 +0800</pubDate><description><![CDATA[1. 在ASP.NET中专用属性：　　　　获取服务器电脑名：Page.Server.ManchineName　　　　获取用户信息：Page.User　　　　获取客户端电脑名：Page.Request.UserHostName　　　　获取客户端电脑IP：Page.Request.UserHostAddress　　　　2. 在网络编程中的通用方法：　　　　获取当前电脑名：static System.N]]></description><category></category></item><item><title><![CDATA[WINFORM中两个 ComboBox 控件绑定同一个数据源的问题]]></title><link>https://blog.youkuaiyun.com/REDMORE/article/details/5933890</link><guid>https://blog.youkuaiyun.com/REDMORE/article/details/5933890</guid><author>REDMORE</author><pubDate>Mon, 11 Oct 2010 17:23:00 +0800</pubDate><description><![CDATA[<br />今天WINFROM编程遇到这么一个问题：是有关WINFORM中两个comboBox控件绑定同一个数据源的问题，在窗体的界面上有两个comboBox，我在Form1_Load中对他们做了数据绑定（具体代码如下），但是运行出现了这个一个奇怪的问题，我改变了comboBox1的值，但是comboBox2的值也自动改变了，我没有设置comboBox1_SelectedIndexChanged函数 <br />private void Form1_Load(object sender, EventArgs]]></description><category></category></item><item><title><![CDATA[SQL查询中做判断，select case]]></title><link>https://blog.youkuaiyun.com/REDMORE/article/details/5908864</link><guid>https://blog.youkuaiyun.com/REDMORE/article/details/5908864</guid><author>REDMORE</author><pubDate>Mon, 27 Sep 2010 09:24:00 +0800</pubDate><description><![CDATA[<br />select case when TICKET_TYPE=1 then '是' <br />                  when TICKET_TYPE=2 then '不是' <br />                  when TICKET_TYPE=3 then '错误' <br />                  end as typestr<br /> from client_exchange_ticket]]></description><category></category></item><item><title><![CDATA[天气预报代码]]></title><link>https://blog.youkuaiyun.com/REDMORE/article/details/5771744</link><guid>https://blog.youkuaiyun.com/REDMORE/article/details/5771744</guid><author>REDMORE</author><pubDate>Wed, 28 Jul 2010 16:45:00 +0800</pubDate><description><![CDATA[string WeatherInfo = "";
        Weather.WeatherWebService weatherServer = new Weather.WeatherWebService();
        try
        {
            string[] weather = weatherServer.getWeatherbyCityName("北京");
            WeatherInfo += @"BeiJing" + (weather]]></description><category></category></item><item><title><![CDATA[JS实现规定TextBox长度，过滤关键字]]></title><link>https://blog.youkuaiyun.com/REDMORE/article/details/5728950</link><guid>https://blog.youkuaiyun.com/REDMORE/article/details/5728950</guid><author>REDMORE</author><pubDate>Mon, 12 Jul 2010 14:47:00 +0800</pubDate><description><![CDATA[<br /><script language="javascript">   <br />  function   textCounter(field,   maxlimit)   {     <br />  if   (field.value.length   >   maxlimit)     <br />  field.value   =   field.value.substring(0,   maxlimit);     <br />  else if (field.value!=null)<br]]></description><category></category></item><item><title><![CDATA[修改WIN2003的3389端口方法]]></title><link>https://blog.youkuaiyun.com/REDMORE/article/details/5661336</link><guid>https://blog.youkuaiyun.com/REDMORE/article/details/5661336</guid><author>REDMORE</author><pubDate>Thu, 10 Jun 2010 14:54:00 +0800</pubDate><description><![CDATA[<br />很多管理Windows平台下服务器的网管朋友知道，维护服务器都需要远程来执行，有的通过pcanywhere，有的用微软提供的3389远程连接器。但使用修改端口后的远程终端往往画面不流畅，连接速度较慢，甚至百G千G的带宽也是如此。那到底是什么原因呢？其实是我们在修改端口时没修改彻底，才会导致以上的情况发生。以往我们在修改服务器远程终端3389端口时，只是修改了HKEY_LOCAL_MACHINE / SYSTEM / CurrentControlSet / Control / Terminal S]]></description><category></category></item><item><title><![CDATA[数据库按首字母查询方法]]></title><link>https://blog.youkuaiyun.com/REDMORE/article/details/5541626</link><guid>https://blog.youkuaiyun.com/REDMORE/article/details/5541626</guid><author>REDMORE</author><pubDate>Thu, 29 Apr 2010 10:41:00 +0800</pubDate><description><![CDATA[现在数据库中自定义函数：create function fun_getFirstPY(@str nvarchar(4000))returns nvarchar(4000)asbegindeclare @word nchar(1),@PY nvarchar(4000)set @PY=set @word=left(@str,1)--如果非汉字字符，返回原字符set @PY=@PY+(case ]]></description><category></category></item><item><title><![CDATA[用户登录错误3次锁定10分钟]]></title><link>https://blog.youkuaiyun.com/REDMORE/article/details/5516007</link><guid>https://blog.youkuaiyun.com/REDMORE/article/details/5516007</guid><author>REDMORE</author><pubDate>Thu, 22 Apr 2010 15:09:00 +0800</pubDate><description><![CDATA[        public bool UserLogin(string userName, string password) {            MemberInfo member = null;            member = dao.GetModel(userName);             // 不存在该会员            if (]]></description><category></category></item><item><title><![CDATA[常用正则表达式]]></title><link>https://blog.youkuaiyun.com/REDMORE/article/details/5493327</link><guid>https://blog.youkuaiyun.com/REDMORE/article/details/5493327</guid><author>REDMORE</author><pubDate>Fri, 16 Apr 2010 13:34:00 +0800</pubDate><description><![CDATA[匹配中文字符的正则表达式： [/u4e00-/u9fa5]评注：匹配中文还真是个头疼的事，有了这个表达式就好办了匹配双字节字符(包括汉字在内)： [^/x00-/xff]评注：可以用来计算字符串的长度（一个双字节字符长度计2，ASCII字符计1）匹配空白行的正则表达式：/n/s*/r评注：可以用来删除空白行匹配HTML标记的正则表达式：]*>.*?|评注：网]]></description><category></category></item><item><title><![CDATA[分页显示新闻列表源代码]]></title><link>https://blog.youkuaiyun.com/REDMORE/article/details/5485650</link><guid>https://blog.youkuaiyun.com/REDMORE/article/details/5485650</guid><author>REDMORE</author><pubDate>Wed, 14 Apr 2010 16:20:00 +0800</pubDate><description><![CDATA[代码.cs中using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;]]></description><category></category></item><item><title><![CDATA[HTML标签大全 ]]></title><link>https://blog.youkuaiyun.com/REDMORE/article/details/5458418</link><guid>https://blog.youkuaiyun.com/REDMORE/article/details/5458418</guid><author>REDMORE</author><pubDate>Wed, 07 Apr 2010 15:22:00 +0800</pubDate><description><![CDATA[HTML标签大全     HTML标签大全 ＜html＞ ＜head＞ ＜title＞标题＜title＞ ＜/head＞ ＜body＞..........文件内容.......... ＜/body＞ ＜/html＞ 1.文件标题 ＜title＞..........＜/title＞ 2.文件更新--＜meta＞ 【1】10秒后自动更新一次 ＜m]]></description><category></category></item><item><title><![CDATA[本地计数器]]></title><link>https://blog.youkuaiyun.com/REDMORE/article/details/5457390</link><guid>https://blog.youkuaiyun.com/REDMORE/article/details/5457390</guid><author>REDMORE</author><pubDate>Wed, 07 Apr 2010 11:23:00 +0800</pubDate><description><![CDATA[#region 计数器        if (!Page.IsPostBack)        {            string countFile = Server.MapPath("counter.txt");            int count = 1;            if (!File.Exists(countFile))          ]]></description><category></category></item><item><title><![CDATA[通过添加Global.asax防止SQL注入]]></title><link>https://blog.youkuaiyun.com/REDMORE/article/details/5454641</link><guid>https://blog.youkuaiyun.com/REDMORE/article/details/5454641</guid><author>REDMORE</author><pubDate>Tue, 06 Apr 2010 14:45:00 +0800</pubDate><description><![CDATA[]]></description><category></category></item></channel></rss>