﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-哥哥.Net-最新评论</title><link>http://www.cnblogs.com/ode/CommentsRSS.aspx</link><description>Analyse Ode:C/C++/C# 's Ode Is Code.</description><language>zh-cn</language><pubDate>Tue, 27 Dec 2011 05:17:08 GMT</pubDate><lastBuildDate>Tue, 27 Dec 2011 05:17:08 GMT</lastBuildDate><generator>cnblogs</generator><item><title>Re:用MinGW和CMake搭建便捷的C/C++开发环境（一）</title><link>http://www.cnblogs.com/ode/archive/2011/09/01/2143541.html#2190760</link><dc:creator>哥哥.Net</dc:creator><author>哥哥.Net</author><pubDate>Thu, 01 Sep 2011 09:29:54 GMT</pubDate><guid>http://www.cnblogs.com/ode/archive/2011/09/01/2143541.html#2190760</guid><description><![CDATA[-G &quot;MinGW Makefiles&quot;，这个参数的意思是生成MinGW的Makefile，最终生成的编译目标（Makefile）是针对MinGW编译器的。eclipse-mingw我没有用过，和mingw有什么区别我还不清楚，你装一下mingw试试看。下载地址在这里：http://www.mingw.org/<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ode/" target="_blank">哥哥.Net</a> 2011-09-01 17:29 <a href="http://www.cnblogs.com/ode/archive/2011/09/01/2143541.html#2190760#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:用MinGW和CMake搭建便捷的C/C++开发环境（一）</title><link>http://www.cnblogs.com/ode/archive/2011/08/29/2143541.html#2188249</link><dc:creator>xuguan</dc:creator><author>xuguan</author><pubDate>Mon, 29 Aug 2011 09:06:38 GMT</pubDate><guid>http://www.cnblogs.com/ode/archive/2011/08/29/2143541.html#2188249</guid><description><![CDATA[我安装了eclipse-mingw，现在网上下载了个lemon源码，然后用Cmake 建立Mingw的工程时，出现了Cmake找不到build program的问题，是不是我的mingw安装出错了呢。

CMake Error: CMake was unable to find a build program corresponding to &quot;MinGW Makefiles&quot;.  
CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ode/" target="_blank">xuguan</a> 2011-08-29 17:06 <a href="http://www.cnblogs.com/ode/archive/2011/08/29/2143541.html#2188249#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:DropDownList绑定枚举类型</title><link>http://www.cnblogs.com/ode/archive/2011/07/20/352959.html#2155641</link><dc:creator>哥哥.Net</dc:creator><author>哥哥.Net</author><pubDate>Wed, 20 Jul 2011 01:01:32 GMT</pubDate><guid>http://www.cnblogs.com/ode/archive/2011/07/20/352959.html#2155641</guid><description><![CDATA[哦，06年我发布这篇文章的时候，还没有.net3.5,Lambda这些的都不能用，也没有微软官方的asp.net mvc,呵呵～～<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ode/" target="_blank">哥哥.Net</a> 2011-07-20 09:01 <a href="http://www.cnblogs.com/ode/archive/2011/07/20/352959.html#2155641#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:DropDownList绑定枚举类型</title><link>http://www.cnblogs.com/ode/archive/2011/01/26/352959.html#2019177</link><dc:creator>一线风</dc:creator><author>一线风</author><pubDate>Wed, 26 Jan 2011 08:05:37 GMT</pubDate><guid>http://www.cnblogs.com/ode/archive/2011/01/26/352959.html#2019177</guid><description><![CDATA[我改了一下，呵~
     public static MvcHtmlString DropDownListFor&lt;TModel, TProperty&gt;(this HtmlHelper&lt;TModel&gt; helper, Expression&lt;Func&lt;TModel, TProperty&gt;&gt; expression, string optionLabel, IDictionary&lt;string, object&gt; htmlAttributes)
        {
            var etype = typeof(TProperty);
            if (!etype.IsEnum) throw new ArgumentException(&quot;该属性不为枚举，无法进行转换操作。&quot;);
            var values = GetEnumDispaly(etype);
            var selectList = new SelectList(values, &quot;Key&quot;,&quot;Value&quot;, ModelMetadata.FromLambdaExpression(expression, helper.ViewData).Model);

            return helper.DropDownListFor(expression, selectList, optionLabel, htmlAttributes);
        }

        /// &lt;summary&gt;
        /// 从枚举类型和它的特性读出并返回枚举值及Display特性的Description的键值对
        /// &lt;/summary&gt;
        /// &lt;param name=&quot;enumType&quot;&gt;Type,该参数的格式为typeof(需要读的枚举类型)&lt;/param&gt;
        /// &lt;returns&gt;键值对&lt;/returns&gt;
        private static Dictionary&lt;string,string&gt; GetEnumDispaly(Type enumType)
        {
            if (!enumType.IsEnum) return null;
            var dic = new Dictionary&lt;string,string&gt;();
            var typeDisplay = typeof(DisplayAttribute);
            FieldInfo[] fields = enumType.GetFields();
            foreach (FieldInfo field in fields)
            {
                if (field.FieldType.IsEnum != true) continue;
                string strValue = (enumType.InvokeMember(field.Name, BindingFlags.GetField, null, null, null)).ToString();
                object[] arr = field.GetCustomAttributes(typeDisplay, true);
                string strText = arr.Length &gt; 0 ? ((DisplayAttribute)arr[0]).GetDescription() : field.Name;
                dic[strValue] = strText;
            }
            return dic;
        }<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ode/" target="_blank">一线风</a> 2011-01-26 16:05 <a href="http://www.cnblogs.com/ode/archive/2011/01/26/352959.html#2019177#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:BlogEngine或博易博客增加有新的评论时邮件通知我功能</title><link>http://www.cnblogs.com/ode/archive/2010/01/27/1398631.html#1755399</link><dc:creator>BlackPhoenix</dc:creator><author>BlackPhoenix</author><pubDate>Wed, 27 Jan 2010 07:31:23 GMT</pubDate><guid>http://www.cnblogs.com/ode/archive/2010/01/27/1398631.html#1755399</guid><description><![CDATA[我连发信服务器都配置不好呢,唯一qq邮箱可以收到验证邮件，但仅一次，之后再也不行了=。=

http://lqbnet.cn 欢迎参观陋室，博客系统试运行，对IE6支持不好，还望指导。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ode/" target="_blank">BlackPhoenix</a> 2010-01-27 15:31 <a href="http://www.cnblogs.com/ode/archive/2010/01/27/1398631.html#1755399#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:我的xxCMS解决方案（一）---- 整体介绍</title><link>http://www.cnblogs.com/ode/archive/2009/11/10/1599884.html#1694654</link><dc:creator>哥哥.Net</dc:creator><author>哥哥.Net</author><pubDate>Tue, 10 Nov 2009 14:32:16 GMT</pubDate><guid>http://www.cnblogs.com/ode/archive/2009/11/10/1599884.html#1694654</guid><description><![CDATA[@支持一下

网站前台不重新开发的没多少。不过我随后会讲讲关于前端的问题。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ode/" target="_blank">哥哥.Net</a> 2009-11-10 22:32 <a href="http://www.cnblogs.com/ode/archive/2009/11/10/1599884.html#1694654#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:我的xxCMS解决方案（一）---- 整体介绍</title><link>http://www.cnblogs.com/ode/archive/2009/11/10/1599884.html#1694628</link><dc:creator>支持一下</dc:creator><author>支持一下</author><pubDate>Tue, 10 Nov 2009 14:12:42 GMT</pubDate><guid>http://www.cnblogs.com/ode/archive/2009/11/10/1599884.html#1694628</guid><description><![CDATA[支持一下  
我也搞了一个这样的东东  跟你差不多 
不同的功能放在不同的文件夹下

如果客户有需求只需要复制相应的文件夹就可以 
再把需要的表弄出来

不过前台就得 重复开发了<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ode/" target="_blank">支持一下</a> 2009-11-10 22:12 <a href="http://www.cnblogs.com/ode/archive/2009/11/10/1599884.html#1694628#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:我的xxCMS解决方案（一）---- 整体介绍</title><link>http://www.cnblogs.com/ode/archive/2009/11/10/1599884.html#1694304</link><dc:creator>新浪潮</dc:creator><author>新浪潮</author><pubDate>Tue, 10 Nov 2009 08:10:08 GMT</pubDate><guid>http://www.cnblogs.com/ode/archive/2009/11/10/1599884.html#1694304</guid><description><![CDATA[哈哈，刚准备留邮箱要源码的....看来不用了。等几天。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ode/" target="_blank">新浪潮</a> 2009-11-10 16:10 <a href="http://www.cnblogs.com/ode/archive/2009/11/10/1599884.html#1694304#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: [转载]visual studio 2005 下载地址</title><link>http://www.cnblogs.com/ode/archive/2009/04/25/398207.html#1512099</link><dc:creator>Teccart</dc:creator><author>Teccart</author><pubDate>Sat, 25 Apr 2009 00:14:15 GMT</pubDate><guid>http://www.cnblogs.com/ode/archive/2009/04/25/398207.html#1512099</guid><description><![CDATA[where is the link for downloading<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ode/" target="_blank">Teccart</a> 2009-04-25 08:14 <a href="http://www.cnblogs.com/ode/archive/2009/04/25/398207.html#1512099#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 困扰了好几天的一个问题,为存储过程或函数指定的参数太多</title><link>http://www.cnblogs.com/ode/archive/2009/03/16/346455.html#1478145</link><dc:creator>张网</dc:creator><author>张网</author><pubDate>Mon, 16 Mar 2009 07:50:31 GMT</pubDate><guid>http://www.cnblogs.com/ode/archive/2009/03/16/346455.html#1478145</guid><description><![CDATA[感谢啊 你的提醒   希望多多交流 QQ :437414169 <br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ode/" target="_blank">张网</a> 2009-03-16 15:50 <a href="http://www.cnblogs.com/ode/archive/2009/03/16/346455.html#1478145#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>
