<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[ouhaochuan的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/ouhaochuan</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; ouhaochuan]]></copyright><item><title><![CDATA[How to debug asp.net mvc 4 source code?如何调试asp.net mvc4 源代码？]]></title><link>https://blog.csdn.net/ouhaochuan/article/details/7418041</link><guid>https://blog.csdn.net/ouhaochuan/article/details/7418041</guid><author>ouhaochuan</author><pubDate>Sun, 01 Apr 2012 09:56:39 +0800</pubDate><description><![CDATA[0down
 votefavorite


share
 [g+]share
 [fb]share
 [tw]





I download the latest source code from here:http://aspnetwebstack.codeplex.com/SourceControl/list/changesets

1) add the sys]]></description><category></category></item><item><title><![CDATA[关于CString的GetBuffer 和 ReleaseBuffe]]></title><link>https://blog.csdn.net/ouhaochuan/article/details/7275313</link><guid>https://blog.csdn.net/ouhaochuan/article/details/7275313</guid><author>ouhaochuan</author><pubDate>Mon, 20 Feb 2012 11:43:48 +0800</pubDate><description><![CDATA[转自：http://hi.baidu.com/yu_xiyan/blog/item/55876a09c906289ed0581bb1.html






先来看看我下面的这段代码 使用上有什么问题：
m_WeatherZone = "北京";
m_szWeatherInfo = "多云转晴";
m_szWeatherglass = "23~35度";
......
...]]></description><category></category></item><item><title><![CDATA[sqlserver express 2008 登陆身份验证配置及远程登陆配置]]></title><link>https://blog.csdn.net/ouhaochuan/article/details/7227563</link><guid>https://blog.csdn.net/ouhaochuan/article/details/7227563</guid><author>ouhaochuan</author><pubDate>Thu, 02 Feb 2012 11:00:24 +0800</pubDate><description><![CDATA[1、登陆身份验证方式的配置：
打开ssms，以安装时配置好的登陆身份验证方式连接实例，然后在实例右键，属性，安全性，其中可以更改登陆验证方式，改好后重启sql服务。
 
图1

 
2、添加登陆用户或修改sa帐户密码

按照1中连接好实例后，右键实例下的“安全性”，选择“新建登录名”，即可新建登陆帐户
 
图2

 

打开“安全性”节点，在sa上右键，属性，即可修改s]]></description><category></category></item><item><title><![CDATA[CHtmlDialog调用Javascript例子代码]]></title><link>https://blog.csdn.net/ouhaochuan/article/details/7160894</link><guid>https://blog.csdn.net/ouhaochuan/article/details/7160894</guid><author>ouhaochuan</author><pubDate>Thu, 29 Dec 2011 09:39:57 +0800</pubDate><description><![CDATA[// 找到树控件所在框架，调用相应脚本
	CComPtr pDocument;
	if (SUCCEEDED(GetDHtmlDocument(&pDocument)) && pDocument)
	{
		CComPtr pFrames = NULL;
		if (SUCCEEDED(pDocument->get_frames(&pFrames)) && pFrames)
		{
			long]]></description><category></category></item><item><title><![CDATA[正则表达式备忘录]]></title><link>https://blog.csdn.net/ouhaochuan/article/details/7105774</link><guid>https://blog.csdn.net/ouhaochuan/article/details/7105774</guid><author>ouhaochuan</author><pubDate>Tue, 27 Dec 2011 14:42:30 +0800</pubDate><description><![CDATA[() —— 分组
{n} —— 数量
[] —— 匹配单个字，在范围内
[^] —— 匹配单个字，不在范围内
. —— 匹配单个字，除了换行和行结束符
* —— 0或多个
+ —— 1或多个
? —— 0或1个
^ —— 开头
$ —— 结尾
\d \D —— 单个数字非数字
\w \W —— 单字非单字 例如：
Give 100%!



 \s \S —— 空格]]></description><category></category></item><item><title><![CDATA[深入理解JavaScript的变量作用域]]></title><link>https://blog.csdn.net/ouhaochuan/article/details/7097241</link><guid>https://blog.csdn.net/ouhaochuan/article/details/7097241</guid><author>ouhaochuan</author><pubDate>Fri, 23 Dec 2011 08:55:11 +0800</pubDate><description><![CDATA[转自：http://www.cnblogs.com/rainman/archive/2009/04/28/1445687.html




在学习JavaScript的变量作用域之前，我们应当明确几点：


JavaScript的变量作用域是基于其特有的作用域链的。
JavaScript没有块级作用域。
函数中声明的变量在整个函数中都有定义。

1、JavaScript的作]]></description><category></category></item><item><title><![CDATA[JavaScript里面三个等号和两个等号的区别]]></title><link>https://blog.csdn.net/ouhaochuan/article/details/7094223</link><guid>https://blog.csdn.net/ouhaochuan/article/details/7094223</guid><author>ouhaochuan</author><pubDate>Thu, 22 Dec 2011 09:41:47 +0800</pubDate><description><![CDATA[转自：http://www.cnblogs.com/litsword/archive/2010/07/22/1782933.html




== equality 等同，=== identity 恒等。
==， 两边值类型不同的时候，要先进行类型转换，再比较。 
==，不做类型转换，类型不同的一定不等。 

下面分别说明： 
先说 ===，这个比较简单。下面的规则用来判断两个]]></description><category></category></item><item><title><![CDATA[让 CtreeCtrl 的节点在没有子节点的情况下显示+号按钮]]></title><link>https://blog.csdn.net/ouhaochuan/article/details/7092065</link><guid>https://blog.csdn.net/ouhaochuan/article/details/7092065</guid><author>ouhaochuan</author><pubDate>Wed, 21 Dec 2011 17:10:03 +0800</pubDate><description><![CDATA[要让CtreeCtrl 的节点在没有子节点的情况下显示+号按钮，可以在 InsertItem 的时候设置 item 的 cChildren 属性为1 。下面是 MSDN 的对 TVITEM 结构的说明：

typedef struct tagTVITEM {
    UINT mask;
    HTREEITEM hItem;
    UINT state;
    UINT sta]]></description><category></category></item><item><title><![CDATA[谈谈MVC项目中的缓存功能设计的相关问题]]></title><link>https://blog.csdn.net/ouhaochuan/article/details/7088906</link><guid>https://blog.csdn.net/ouhaochuan/article/details/7088906</guid><author>ouhaochuan</author><pubDate>Tue, 20 Dec 2011 18:45:38 +0800</pubDate><description><![CDATA[转自：http://www.cnblogs.com/chenxizhang/archive/2011/12/14/2288062.html




今天这一篇文章我来谈一谈在MVC 3项目中的缓存功能，以及针对缓存的一些设计上的考量，给大家参考参考

前言

为什么需要讨论缓存？缓存是一个中大型系统所必须考虑的问题。为了避免每次请求都去访问后台的资源（例如数据库），我们一般会考虑]]></description><category></category></item><item><title><![CDATA[ActiveX组件与JavaScript交互]]></title><link>https://blog.csdn.net/ouhaochuan/article/details/7086516</link><guid>https://blog.csdn.net/ouhaochuan/article/details/7086516</guid><author>ouhaochuan</author><pubDate>Tue, 20 Dec 2011 09:54:59 +0800</pubDate><description><![CDATA[转自：http://hi.baidu.com/huhe/blog/item/817a59ee1ca423f8b3fb95de.html


1．在COM组件中调用JavaScript函数
// 连接点方式页面javascript脚本


        alert("State(" + s + ")");
        return 123;


        testC]]></description><category></category></item><item><title><![CDATA[javascript调用CDHtmlDlg方法原理]]></title><link>https://blog.csdn.net/ouhaochuan/article/details/7083158</link><guid>https://blog.csdn.net/ouhaochuan/article/details/7083158</guid><author>ouhaochuan</author><pubDate>Mon, 19 Dec 2011 10:22:20 +0800</pubDate><description><![CDATA[WebBrowser宿主应用程序可以扩展Dynamic HTML Object Model，从而使脚本可以调用宿主实现的方法。脚本通过window.external对象来引用宿主提供的IDispath接口。而宿主要提供一个IDispath接口的实现（必须实现IDispatch::GetIDsOfNames and IDispatch::Invoke）来处理脚本对其进行的调用。WebBrowser]]></description><category></category></item><item><title><![CDATA[vs2010中 js的intellisense(智能提示） 和 Snippets（代码块)]]></title><link>https://blog.csdn.net/ouhaochuan/article/details/7057907</link><guid>https://blog.csdn.net/ouhaochuan/article/details/7057907</guid><author>ouhaochuan</author><pubDate>Fri, 09 Dec 2011 17:24:04 +0800</pubDate><description><![CDATA[转自：http://www.cnblogs.com/jinho/archive/2011/06/12/2078642.html




关于智能提示vs2008和vs2010都是很强大了!但是很多我们知道但是也没有怎么合理应用,真是可惜了啊,如果合理用起来那么会提高我们的开发效率和减少出错几率哦,如果没有智能提示,我想我会疯的. 因为我只是不确信输入的单词是否正确!

 

呵呵]]></description><category></category></item><item><title><![CDATA[C# 中使用JSON - DataContractJsonSerializer]]></title><link>https://blog.csdn.net/ouhaochuan/article/details/7055618</link><guid>https://blog.csdn.net/ouhaochuan/article/details/7055618</guid><author>ouhaochuan</author><pubDate>Fri, 09 Dec 2011 09:05:13 +0800</pubDate><description><![CDATA[转自：http://space.itpub.net/12639172/viewspace-503464

C#中使用JSON不需要使用第三方库，使用.NET Framwork3.5自带的System.Runtime.Serialization.Json即可很好的完成JSON的解析。

关于JSON的入门介绍见(首页的图很形象)：

http://www.json.org/

一、U]]></description><category></category></item><item><title><![CDATA[C#中常见异常]]></title><link>https://blog.csdn.net/ouhaochuan/article/details/7055549</link><guid>https://blog.csdn.net/ouhaochuan/article/details/7055549</guid><author>ouhaochuan</author><pubDate>Fri, 09 Dec 2011 08:34:04 +0800</pubDate><description><![CDATA[<!--
p
	{line-height:150%}
-->




什么是异常：异常是程序在执行是发生的错误。
导致异常的原因：
    一、代码错误，包括语法错误、逻辑错误
    二、资源不可用，这是由系统访问了未经授权的资源而引起的错误。
    三、公共语言运行库，这是有CLR内部引起的错误。
Exception类
Exception为我们提供了大量的捕获、处]]></description><category></category></item><item><title><![CDATA[类型“System.Data.Objects.DataClasses.EntityObject”在未被引用的程序集中定义必须添加对程序集“System.Data.Entity"引用]]></title><link>https://blog.csdn.net/ouhaochuan/article/details/7054484</link><guid>https://blog.csdn.net/ouhaochuan/article/details/7054484</guid><author>ouhaochuan</author><pubDate>Thu, 08 Dec 2011 18:16:04 +0800</pubDate><description><![CDATA[转自：http://www.cnblogs.com/dudu837/archive/2009/06/16/1504269.html




必须添加对程序集“System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”的引用。
请检查下bin目录下有没有System.Data]]></description><category></category></item><item><title><![CDATA[Asp.net MVC ModelBinding 原理]]></title><link>https://blog.csdn.net/ouhaochuan/article/details/7033657</link><guid>https://blog.csdn.net/ouhaochuan/article/details/7033657</guid><author>ouhaochuan</author><pubDate>Fri, 02 Dec 2011 09:45:46 +0800</pubDate><description><![CDATA[用户提交请求数据 ==》 MVC Framework 路由到对应的 ActionMethod ==》分析 ActionMethod 的参数名称及类型，查找可用的 IModelBinder 实现，如果没找到则使用 DefaultModelBinder ，该实现用下图的顺序以 ActionMethod 参数名为Key，查找用户提交的数据，并尝试类型转换






==》如果 Actio]]></description><category></category></item><item><title><![CDATA[Javascript 中出现<object>对象未定义的可能原因及解决办法]]></title><link>https://blog.csdn.net/ouhaochuan/article/details/7029650</link><guid>https://blog.csdn.net/ouhaochuan/article/details/7029650</guid><author>ouhaochuan</author><pubDate>Thu, 01 Dec 2011 09:50:54 +0800</pubDate><description><![CDATA[在html页面中定义了一个ActiveX对象

在后台js代码中引用该对象，如果是直接引用fileSelector，而且是在$(document).ready()事件中引用，通常会出现对象未定义的情况，可能是由于jQquery库的影响，具体怎么影响不知道。下面是一种可行的引用方法，通过选择符来引用：
$(document).ready(function ()
{
	// 文件操作控件
	va]]></description><category></category></item><item><title><![CDATA[在Javascript中处理MFC ActiveX 抛出的异常]]></title><link>https://blog.csdn.net/ouhaochuan/article/details/7003462</link><guid>https://blog.csdn.net/ouhaochuan/article/details/7003462</guid><author>ouhaochuan</author><pubDate>Wed, 23 Nov 2011 11:22:15 +0800</pubDate><description><![CDATA[1、如何在MFC ActiveX 中抛出异常
原文链接

若要指出方法中发生了错误，应使用 COleControl::ThrowError 成员函数，它采用 SCODE（状态代码）作为参数。可以使用预定义 SCODE 或定义自己的 SCODE。

注意 ThrowError 只是作为从属性的 Get 或 Set 函数内或自动化方法返回错误的一种手段。只有在这些时候，堆栈上才会存在适当的异]]></description><category></category></item><item><title><![CDATA[ActiveX有界面显示但不能响应鼠标的原因之一]]></title><link>https://blog.csdn.net/ouhaochuan/article/details/7003232</link><guid>https://blog.csdn.net/ouhaochuan/article/details/7003232</guid><author>ouhaochuan</author><pubDate>Wed, 23 Nov 2011 10:39:02 +0800</pubDate><description><![CDATA[if(myCtrl)
	alert("haha");





如果不设置width 和 height 的话就会出现ActiveX 有界面（但界面没有按照希望的大小显示）但无法响应鼠标的情况。]]></description><category></category></item><item><title><![CDATA[Sending the LINQ To SQL log to the debugger output window]]></title><link>https://blog.csdn.net/ouhaochuan/article/details/6995931</link><guid>https://blog.csdn.net/ouhaochuan/article/details/6995931</guid><author>ouhaochuan</author><pubDate>Mon, 21 Nov 2011 11:39:36 +0800</pubDate><description><![CDATA[转自：http://blogs.u2u.be/kris/post/2007/03/14/Sending-the-LINQ-To-SQL-log-to-the-debugger-output-window.aspx
--------------------------------------------------------------------------------------------]]></description><category></category></item></channel></rss>