<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_conan</title><subtitle type="text"/><id>http://feed.cnblogs.com/blog/u/8822/rss</id><updated>2010-03-20T11:09:06Z</updated><author><name>Conan</name><uri>http://www.cnblogs.com/kf7798/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kf7798/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/8822/rss"/><entry><id>http://www.cnblogs.com/kf7798/archive/2010/03/20/1690603.html</id><title type="text">Linq to SQL中报错&amp;quot;不允许在查询中显式构造实体类型&amp;quot;怎么解决</title><summary type="text">from t in a1from tp in t.a2group t by t.Name into gselect new a1{ Name = g.Key, cc= g.Count() }a1为一个表,a1中有Name和cc字段,类型也一样.以上在.ToList()时报错...我想在以上的语句后得到IQueryable&amp;lt;a1&amp;gt;,然后做后续处理再得到List&amp;lt;a1&amp;gt;有高手能...</summary><published>2010-03-20T11:09:00Z</published><updated>2010-03-20T11:09:00Z</updated><author><name>Conan</name><uri>http://www.cnblogs.com/kf7798/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kf7798/archive/2010/03/20/1690603.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kf7798/archive/2010/03/20/1690603.html"/><content type="html">&lt;p&gt;from t in a1&lt;br /&gt;from tp in t.a2&lt;br /&gt;group t by t.Name into g&lt;br /&gt;select new a1{ Name = g.Key, cc= g.Count() }&lt;br /&gt;a1为一个表,a1中有Name和cc字段,类型也一样.&lt;/p&gt;&#xD;
&lt;p&gt;以上在.ToList()时报错...&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;我想在以上的语句后得到IQueryable&amp;lt;a1&amp;gt;,然后做后续处理再得到List&amp;lt;a1&amp;gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;有高手能告诉我以上报错的原理和解决的方法吗?&lt;/p&gt;&lt;img src="http://www.cnblogs.com/kf7798/aggbug/1690603.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/kf7798/archive/2010/03/20/1690603.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/kf7798/archive/2007/09/21/901877.html</id><title type="text">今日世纪天成面试遇到的有趣考题</title><summary type="text">以下的题是今日在世纪天成面试被问到或笔试中出现的，可能只记住了一部分，有些好像还是很有趣的。&#xD;</summary><published>2007-09-21T12:15:00Z</published><updated>2007-09-21T12:15:00Z</updated><author><name>Conan</name><uri>http://www.cnblogs.com/kf7798/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kf7798/archive/2007/09/21/901877.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kf7798/archive/2007/09/21/901877.html"/></entry><entry><id>http://www.cnblogs.com/kf7798/archive/2005/11/01/266044.html</id><title type="text">工作笔记</title><summary type="text">2005年１１月１日 上海 晴昨天在公司开的研讨会我负责２场，一个是关于微软的Portal引擎集成到ＥＲＰ平台中的应用，一个是关于Developer Express开发的ASPxGrid控件应用。关于微软的Portal引擎很多同事都觉得它不适合用在现有的ＥＲＰ平台中，其中有几个问题值得注意：1.UserControls之间的交互问题；2.在复杂的业务逻辑中是否会存在复用性降低，开发效率低的问题；3...</summary><published>2005-11-01T01:57:00Z</published><updated>2005-11-01T01:57:00Z</updated><author><name>Conan</name><uri>http://www.cnblogs.com/kf7798/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kf7798/archive/2005/11/01/266044.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kf7798/archive/2005/11/01/266044.html"/></entry><entry><id>http://www.cnblogs.com/kf7798/archive/2005/09/30/247085.html</id><title type="text">中国的外交政策及安全观</title><summary type="text">在网上常看到一些人发些对中国政府的对外政策指手划脚的贴子或评论，比如：在美国轰炸我住南使馆的问题上，在中美撞机的问题上等。而那些贴子也许是出于对中国的爱，但却暴露出我们中很多人对我国的外交政策认识不清的问题，今天看到外交部的记者会上外交部发言人秦刚的一段描述，希望大家能通过此段描述对我国的外交政策和安全观有一个新的认识。　　中国外交奉行独立自主和平外交政策。我们坚持走和平发展道路，坚持“与邻为善、...</summary><published>2005-09-30T00:56:00Z</published><updated>2005-09-30T00:56:00Z</updated><author><name>Conan</name><uri>http://www.cnblogs.com/kf7798/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kf7798/archive/2005/09/30/247085.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kf7798/archive/2005/09/30/247085.html"/></entry><entry><id>http://www.cnblogs.com/kf7798/archive/2005/09/29/246870.html</id><title type="text">利用事件委托来实现UserControls之间的交互</title><summary type="text">在from1.aspx页上加入2个用户控件，名为test1.ascx和test2.ascx。在test1.ascx中加入一个文本框TextBox1，在test2.ascx中加入一个按钮btnOK。在test2.asc.cs中加入下面的代码：privatevoidbtnOK_Click(objectsender,System.EventArgse){OnCancel(newEventArgs());...</summary><published>2005-09-29T10:08:00Z</published><updated>2005-09-29T10:08:00Z</updated><author><name>Conan</name><uri>http://www.cnblogs.com/kf7798/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kf7798/archive/2005/09/29/246870.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kf7798/archive/2005/09/29/246870.html"/></entry><entry><id>http://www.cnblogs.com/kf7798/archive/2005/08/19/218112.html</id><title type="text">工作日志之今日随想</title><summary type="text">今天被公司的技术总监和我部的经理开导了一下，因为我对公司的现行开发方式颇有微词。现在公司每接一个项目都是很紧的工期，没有像样的需求分析、设计就草草开始分块写代码。再加上有很多程序是几年开发中遗留下来的程序，当改它们时是一种比死亡更可怕的事情。不知道大家有没有这样的遭遇，以下是我的一点感受。 地点：杭州 人都有梦想，但人不能总活的梦想中。 我们总是在不断的尝试，但成功的尝试又有多少;我们总是在前进，...</summary><published>2005-08-18T16:04:00Z</published><updated>2005-08-18T16:04:00Z</updated><author><name>Conan</name><uri>http://www.cnblogs.com/kf7798/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kf7798/archive/2005/08/19/218112.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kf7798/archive/2005/08/19/218112.html"/></entry><entry><id>http://www.cnblogs.com/kf7798/archive/2005/07/07/187947.html</id><title type="text">interface的用法</title><summary type="text">1.先建立一接口：1publicinterfaceIDataTest2{3intAdd(ObjectA);4}2.再建立一类，继承自IDataTest。1publicclassClassA:IDataTest2{3publicintAdd(ObjectA)4{5。。。。6}7}3.再建立一操作类：publicclassClassB{publicvoidTest(IDataTestClassC,Ob...</summary><published>2005-07-07T08:13:00Z</published><updated>2005-07-07T08:13:00Z</updated><author><name>Conan</name><uri>http://www.cnblogs.com/kf7798/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kf7798/archive/2005/07/07/187947.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kf7798/archive/2005/07/07/187947.html"/></entry><entry><id>http://www.cnblogs.com/kf7798/archive/2005/05/13/154581.html</id><title type="text">在.net中oracle数据库的访问方法</title><summary type="text">最近在做一个关于oracle数据库的项目，现在把一些关于oracle数据库接连的一些问题说一下。1.在微软MSDN中下载.Net Managed Provider for Oracle在MSDN的下载页地址：http://www.microsoft.com/downloads/ThankYou.aspx?familyId=4f55d429-17dc-45ea-bfb3-076d1c052524&amp;a...</summary><published>2005-05-13T03:09:00Z</published><updated>2005-05-13T03:09:00Z</updated><author><name>Conan</name><uri>http://www.cnblogs.com/kf7798/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kf7798/archive/2005/05/13/154581.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kf7798/archive/2005/05/13/154581.html"/></entry><entry><id>http://www.cnblogs.com/kf7798/archive/2005/04/11/135625.html</id><title type="text">为什么循环提取的结果是同样的字符？？？</title><summary type="text">m为Match的对象，我的这个循环得到的字符为什么全是一样的？？？高手指点for(m=RStr.Match(Str.ToString());m.Success;m.NextMatch()){i++;//i为子分类IDT1=m.Groups["port"].Index;Str.Remove(0,T1);m.Result("${proto}${port}");url=m.Groups["proto"]...</summary><published>2005-04-11T08:42:00Z</published><updated>2005-04-11T08:42:00Z</updated><author><name>Conan</name><uri>http://www.cnblogs.com/kf7798/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kf7798/archive/2005/04/11/135625.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kf7798/archive/2005/04/11/135625.html"/></entry><entry><id>http://www.cnblogs.com/kf7798/archive/2005/04/11/135341.html</id><title type="text">正则表达式语法</title><summary type="text">我看有朋友提到正则表达式，我就从MSDN中找了JScript和VBScript正则表达式的语法贴出来，给大家一个参考。如果各位有好的正则表达式例子请跟贴，并附上详细说明，谢谢。用C＃的可参考：http://msdn.microsoft.com/library/chs/default.asp?url=/library/CHS/cpgenref/html/cpconCharacterEscapes.a...</summary><published>2005-04-11T01:53:00Z</published><updated>2005-04-11T01:53:00Z</updated><author><name>Conan</name><uri>http://www.cnblogs.com/kf7798/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kf7798/archive/2005/04/11/135341.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kf7798/archive/2005/04/11/135341.html"/></entry></feed>
