﻿<?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>博客园-xBlues-最新评论</title><link>http://www.cnblogs.com/xblues/CommentsRSS.aspx</link><description>My simple life in Shanghai</description><language>zh-cn</language><pubDate>Thu, 21 Aug 2008 08:53:19 GMT</pubDate><lastBuildDate>Thu, 21 Aug 2008 08:53:19 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: 讨论用LINQ如何查重以及用纵横表显示数据</title><link>http://www.cnblogs.com/xblues/archive/2008/08/21/1273362.html#1293978</link><dc:creator>Ivony...</dc:creator><author>Ivony...</author><pubDate>Thu, 21 Aug 2008 13:02:13 GMT</pubDate><guid>http://www.cnblogs.com/xblues/archive/2008/08/21/1273362.html#1293978</guid><description><![CDATA[当然还可以将所有地区都取出来然后做个Join这样更好，但意义不大。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/xblues/" target="_blank">Ivony...</a> 2008-08-21 21:02 <a href="http://www.cnblogs.com/xblues/archive/2008/08/21/1273362.html#1293978#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 讨论用LINQ如何查重以及用纵横表显示数据</title><link>http://www.cnblogs.com/xblues/archive/2008/08/21/1273362.html#1293977</link><dc:creator>Ivony...</dc:creator><author>Ivony...</author><pubDate>Thu, 21 Aug 2008 13:01:38 GMT</pubDate><guid>http://www.cnblogs.com/xblues/archive/2008/08/21/1273362.html#1293977</guid><description><![CDATA[嗯，测试通过了。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/xblues/" target="_blank">Ivony...</a> 2008-08-21 21:01 <a href="http://www.cnblogs.com/xblues/archive/2008/08/21/1273362.html#1293977#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 讨论用LINQ如何查重以及用纵横表显示数据</title><link>http://www.cnblogs.com/xblues/archive/2008/08/21/1273362.html#1293973</link><dc:creator>Ivony...</dc:creator><author>Ivony...</author><pubDate>Thu, 21 Aug 2008 12:55:14 GMT</pubDate><guid>http://www.cnblogs.com/xblues/archive/2008/08/21/1273362.html#1293973</guid><description><![CDATA[    var result = <br/>      from dataItem in data<br/>      group dataItem by dataItem.OrderID into groupItem<br/>      select groupItem.First() into distinctItem<br/>      group distinctItem by distinctItem.Owner into ownerGroupItem<br/>      select<br/>      new<br/>      {<br/>        Owner = ownerGroupItem.Key,<br/>        Data = (<br/>          from resourceItem in ownerGroupItem<br/>          group resourceItem by resourceItem.Resource into resourceGroupItem<br/>          select new KeyValuePair&lt;string, int&gt;( resourceGroupItem.Key, resourceGroupItem.Sum( dataItem =&gt; dataItem.Quotation ) )<br/>        ).ToDictionary( pair =&gt; pair.Key, pair =&gt; pair.Value )<br/>      };<br/><br/><br/>试一下。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/xblues/" target="_blank">Ivony...</a> 2008-08-21 20:55 <a href="http://www.cnblogs.com/xblues/archive/2008/08/21/1273362.html#1293973#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 讨论用LINQ如何查重以及用纵横表显示数据</title><link>http://www.cnblogs.com/xblues/archive/2008/08/21/1273362.html#1293867</link><dc:creator>路过而已路过而已</dc:creator><author>路过而已路过而已</author><pubDate>Thu, 21 Aug 2008 10:12:33 GMT</pubDate><guid>http://www.cnblogs.com/xblues/archive/2008/08/21/1273362.html#1293867</guid><description><![CDATA[   你要求显示的纵横表的列来源于resource这个列的动态数据数量..而LINQ表现列用的是属性...除非你能在C#里面动态增加属性...否则只有使用其他的变通方法...<br/><br/>    比如按对象group by得出来的结果你再进行处理,拼接表,或者把中间resource列的数据用,分隔...显示的时候再进行处理<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/xblues/" target="_blank">路过而已路过而已</a> 2008-08-21 18:12 <a href="http://www.cnblogs.com/xblues/archive/2008/08/21/1273362.html#1293867#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: FileHelper 一个极好的数据文本文件处理类库</title><link>http://www.cnblogs.com/xblues/archive/2008/08/04/1237493.html#1276818</link><dc:creator>荔橙伊珊雨</dc:creator><author>荔橙伊珊雨</author><pubDate>Mon, 04 Aug 2008 01:44:42 GMT</pubDate><guid>http://www.cnblogs.com/xblues/archive/2008/08/04/1237493.html#1276818</guid><description><![CDATA[不错滴说。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/xblues/" target="_blank">荔橙伊珊雨</a> 2008-08-04 09:44 <a href="http://www.cnblogs.com/xblues/archive/2008/08/04/1237493.html#1276818#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: MSDN上发现了一篇很好的WCF入门教程</title><link>http://www.cnblogs.com/xblues/archive/2008/08/04/1240843.html#1276815</link><dc:creator>荔橙伊珊雨</dc:creator><author>荔橙伊珊雨</author><pubDate>Mon, 04 Aug 2008 01:43:58 GMT</pubDate><guid>http://www.cnblogs.com/xblues/archive/2008/08/04/1240843.html#1276815</guid><description><![CDATA[收藏。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/xblues/" target="_blank">荔橙伊珊雨</a> 2008-08-04 09:43 <a href="http://www.cnblogs.com/xblues/archive/2008/08/04/1240843.html#1276815#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: LINQ迸发访问错误提示：DataReader associated with this Command which must be closed first</title><link>http://www.cnblogs.com/xblues/archive/2008/08/02/1258311.html#1275666</link><dc:creator>非主流程序员</dc:creator><author>非主流程序员</author><pubDate>Sat, 02 Aug 2008 10:01:41 GMT</pubDate><guid>http://www.cnblogs.com/xblues/archive/2008/08/02/1258311.html#1275666</guid><description><![CDATA[我也遇到过，是多线程的问题。同时有2个请求访问数据库，没有先后顺序，而是同一时间点上发生，而我们只有1个数据库连接SQLConnection，因此就发生DataReader那个异常。<br/>不是linq的问题，是数据访问层设计问题。要么你先写完后读，要么你不要用单例模式来限制SQLConnection。<br/>MultipleActiveResultSets=true也没用的，这个只是能在1个连接上顺序执行若干个操作，不是线程安全的。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/xblues/" target="_blank">非主流程序员</a> 2008-08-02 18:01 <a href="http://www.cnblogs.com/xblues/archive/2008/08/02/1258311.html#1275666#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 如何在ASP.NET应用中集成Windows域帐户来进行权限控制</title><link>http://www.cnblogs.com/xblues/archive/2008/08/01/1257160.html#1274831</link><dc:creator>jackWang</dc:creator><author>jackWang</author><pubDate>Fri, 01 Aug 2008 07:09:10 GMT</pubDate><guid>http://www.cnblogs.com/xblues/archive/2008/08/01/1257160.html#1274831</guid><description><![CDATA[楼主：<br/><br/>1、为什么两个密码都能登录成功？是什么设置造成的？<br/>2、那个密码的复杂程度怎么看？在哪里可以设置？怎么编程获取到？<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/xblues/" target="_blank">jackWang</a> 2008-08-01 15:09 <a href="http://www.cnblogs.com/xblues/archive/2008/08/01/1257160.html#1274831#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 如何在ASP.NET应用中集成Windows域帐户来进行权限控制</title><link>http://www.cnblogs.com/xblues/archive/2008/08/01/1257160.html#1274770</link><dc:creator>Blues</dc:creator><author>Blues</author><pubDate>Fri, 01 Aug 2008 06:24:17 GMT</pubDate><guid>http://www.cnblogs.com/xblues/archive/2008/08/01/1257160.html#1274770</guid><description><![CDATA[@jackWang<br/>1 你设置好用户以后，不去实验就好了。因为你试验的话，也算是“下一次登录”，所以系统就要你更改密码了。<br/>3 提示的语句，密码策略，以及密码的复杂程度，都可以在组策略里面自定义的。好好看看组策略的设置了。<br/><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/xblues/" target="_blank">Blues</a> 2008-08-01 14:24 <a href="http://www.cnblogs.com/xblues/archive/2008/08/01/1257160.html#1274770#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 如何在ASP.NET应用中集成Windows域帐户来进行权限控制</title><link>http://www.cnblogs.com/xblues/archive/2008/08/01/1257160.html#1274765</link><dc:creator>jackWang</dc:creator><author>jackWang</author><pubDate>Fri, 01 Aug 2008 06:19:29 GMT</pubDate><guid>http://www.cnblogs.com/xblues/archive/2008/08/01/1257160.html#1274765</guid><description><![CDATA[楼主：<br/><br/>客户要求具备第1点所说的功能啊！但是两个密码都能登录到系统，你说这个奇怪不奇怪？你试试看有没有这种问题？<br/><br/>关于第3点，楼主有什么好方法实现？<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/xblues/" target="_blank">jackWang</a> 2008-08-01 14:19 <a href="http://www.cnblogs.com/xblues/archive/2008/08/01/1257160.html#1274765#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>