<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/greatbag" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/greatbag" type="application/rss+xml"></fs:self_link><lastBuildDate>Thu, 26 Feb 2009 11:09:00 GMT</lastBuildDate><title>greatbag</title><link>http://blog.csdn.net/greatbag/</link><item><title>小心SQL中的字符串相加变成NULL</title><link>http://blog.csdn.net/greatbag/archive/2009/02/26/3938642.aspx</link><wfw:comment>http://blog.csdn.net/greatbag/comments/3938642.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/greatbag/comments/commentRss/3938642.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3938642</trackback:ping><description>&lt;br /&gt;先到看一段代码 &lt;br /&gt;&lt;br /&gt;declare @a varchar(2000)&lt;br /&gt;declare @b varchar(2000)&lt;br /&gt;set @a='aa'&lt;br /&gt;set @b=null&lt;br /&gt;select @a+@b&lt;br /&gt;&lt;br /&gt;得到的结果是什么呢?结果大出意料,竟然是NULL!&lt;br /&gt;在SQL中任何字符串跟NULL相加最终的结果是NULL,以后写SQL的时候要小心啦&lt;img src =&quot;http://blog.csdn.net/greatbag/aggbug/3938642.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 26 Feb 2009 19:09:00 +0800</pubDate><author>greatbag</author><comments>http://blog.csdn.net/greatbag/archive/2009/02/26/3938642.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/greatbag/archive/2009/02/26/3938642.aspx</guid><dc:creator>greatbag</dc:creator></item><item><title>LINQ to SQL Serialization(webservice)</title><link>http://blog.csdn.net/greatbag/archive/2009/02/12/3881235.aspx</link><wfw:comment>http://blog.csdn.net/greatbag/comments/3881235.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/greatbag/comments/commentRss/3881235.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3881235</trackback:ping><description>Download source - 35.63 KBIntroduction&lt;br /&gt;I am a huge fan of LINQ to SQL feature of the .NET Framework 3.5. If you don't know what LINQ to SQL is, please read the white paper here.&lt;br /&gt;I like the way in which it makes database coding simple and easy. Developers do not have to use different programming models (CLR functions and SQL Stored Procedures) and switch between different programming languages (C#/VB.NET and T-SQL). LINQ to SQL designer in Visual Studio 2008 also makes our life even eas&lt;img src =&quot;http://blog.csdn.net/greatbag/aggbug/3881235.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 12 Feb 2009 20:37:00 +0800</pubDate><author>greatbag</author><comments>http://blog.csdn.net/greatbag/archive/2009/02/12/3881235.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/greatbag/archive/2009/02/12/3881235.aspx</guid><dc:creator>greatbag</dc:creator></item><item><title>LINQ to SQL 的EntitySet)&gt;)</title><link>http://blog.csdn.net/greatbag/archive/2008/12/21/3576538.aspx</link><wfw:comment>http://blog.csdn.net/greatbag/comments/3576538.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/greatbag/comments/commentRss/3576538.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3576538</trackback:ping><description>&lt;br /&gt;EntitySet)&gt;) 成员&lt;br /&gt;为 LINQ to SQL 应用程序中的一对多关系和一对一关系的集合方提供延迟加载和关系维护。 &lt;br /&gt;&lt;br /&gt; LINQ to SQL 会自动跟踪EntitySet)&gt;) 的状态&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Untracked&lt;br /&gt;LINQ to SQL 未跟踪的对象。示例包括：&lt;br /&gt;未通过当前 DataContext 查询的对象（例如新创建的对象）。&lt;br /&gt;通过反序列化创建的对象&lt;br /&gt;通过其他 DataContext 查询的对象。&lt;br /&gt;Unchanged&lt;br /&gt;通过使用当前 DataContext 检索到的对象，并且尚未获知此对象自创建以来已被修改。&lt;br /&gt;PossiblyModified&lt;br /&gt;附加到 DataContext 的对象。有关更多信息，请参见 N 层应用程序中的数据检索和 CUD 操作 (LINQ to SQL)。&lt;br /&gt;ToBeInserted&lt;br /&gt;使用当前 DataContext 未检&lt;img src =&quot;http://blog.csdn.net/greatbag/aggbug/3576538.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 22 Dec 2008 06:53:00 +0800</pubDate><author>greatbag</author><comments>http://blog.csdn.net/greatbag/archive/2008/12/21/3576538.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/greatbag/archive/2008/12/21/3576538.aspx</guid><dc:creator>greatbag</dc:creator></item><item><title>上传CSV文件并更换编码</title><link>http://blog.csdn.net/greatbag/archive/2008/12/15/3520958.aspx</link><wfw:comment>http://blog.csdn.net/greatbag/comments/3520958.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/greatbag/comments/commentRss/3520958.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3520958</trackback:ping><description>&lt;br /&gt;最近遇到带法文,德文等CSV上传到服务上读取乱码的问题&lt;br /&gt;&lt;br /&gt;解决办法如下:&lt;br /&gt;  protected void btnUpload_Click(object sender, EventArgs e)    {        if (upExcel.HasFile)        {            string ext = Path.GetExtension(upExcel.FileName);            string saveFolder = Global.UploadTempFolder;            string fileName = Guid.NewGuid().ToString(&quot;N&quot;) + ext;            string savePath = saveFolder + fileName;            if (!Directory.Exists(saveFolder))                Directory.CreateDirectory(saveFolder);     &lt;img src =&quot;http://blog.csdn.net/greatbag/aggbug/3520958.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 15 Dec 2008 22:05:00 +0800</pubDate><author>greatbag</author><comments>http://blog.csdn.net/greatbag/archive/2008/12/15/3520958.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/greatbag/archive/2008/12/15/3520958.aspx</guid><dc:creator>greatbag</dc:creator></item><item><title>LINQ to SQL语句之Group By/Having和Exists/In/Any/All/Contains</title><link>http://blog.csdn.net/greatbag/archive/2008/11/10/3265489.aspx</link><wfw:comment>http://blog.csdn.net/greatbag/comments/3265489.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/greatbag/comments/commentRss/3265489.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3265489</trackback:ping><description>适用场景：分组数据，为我们查找数据缩小范围。说明：分配并返回对传入参数进行分组操作后的可枚举对象。分组；延迟1.简单形式：var q =    from p in db.Products    group p by p.CategoryID into g    select g;说明：from p in db.Products 表示从表中将产品对象取出来。group p by p.CategoryID into g表示对p按CategoryID字段归类。其结果命名为g，一旦重新命名，p的作用域就结束了，所以，最后select时，只能select g。当然，也不必重新命名可以这样写：var q =    from p in db.Products    group p by p.CategoryID;如果想遍历某类别中所有记录，这样：foreach (var gp in q){    if (gp.Key == 2)    {        foreach (var item in gp)&lt;img src =&quot;http://blog.csdn.net/greatbag/aggbug/3265489.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 10 Nov 2008 18:18:00 +0800</pubDate><author>greatbag</author><comments>http://blog.csdn.net/greatbag/archive/2008/11/10/3265489.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/greatbag/archive/2008/11/10/3265489.aspx</guid><dc:creator>greatbag</dc:creator></item><item><title>ajax 3.5 之updatepanel 失效</title><link>http://blog.csdn.net/greatbag/archive/2008/08/18/2790017.aspx</link><wfw:comment>http://blog.csdn.net/greatbag/comments/2790017.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/greatbag/comments/commentRss/2790017.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2790017</trackback:ping><description>&lt;P&gt;第一次发现ajax3.5也没那么容易配置的 - -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;首先是版本冲突:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;编译器错误信息: &lt;/STRONG&gt;&lt;FONT face=Arial&gt;CS0433: The type 'System.Web.UI.ScriptManager' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.dll' and 'c:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad&lt;img src =&quot;http://blog.csdn.net/greatbag/aggbug/2790017.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 18 Aug 2008 23:12:00 +0800</pubDate><author>greatbag</author><comments>http://blog.csdn.net/greatbag/archive/2008/08/18/2790017.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/greatbag/archive/2008/08/18/2790017.aspx</guid><dc:creator>greatbag</dc:creator></item><item><title>修改架构（批量）</title><link>http://blog.csdn.net/greatbag/archive/2008/05/24/2475665.aspx</link><wfw:comment>http://blog.csdn.net/greatbag/comments/2475665.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/greatbag/comments/commentRss/2475665.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2475665</trackback:ping><description>SQL&amp;nbsp;&amp;nbsp;&amp;nbsp; Server2005可以使用系统存储过程sp_changeobjectowner更改数据库对象的所有者。&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sp_changeobjectowner&amp;nbsp;&amp;nbsp;&amp;nbsp; '对象名(包括架构名)','新架构名'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 批量修改请用：&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;am&lt;img src =&quot;http://blog.csdn.net/greatbag/aggbug/2475665.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sat, 24 May 2008 08:30:00 +0800</pubDate><author>greatbag</author><comments>http://blog.csdn.net/greatbag/archive/2008/05/24/2475665.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/greatbag/archive/2008/05/24/2475665.aspx</guid><dc:creator>greatbag</dc:creator></item><item><title>全文索引:Sql的Contains语法</title><link>http://blog.csdn.net/greatbag/archive/2008/02/28/2127377.aspx</link><wfw:comment>http://blog.csdn.net/greatbag/comments/2127377.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/greatbag/comments/commentRss/2127377.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2127377</trackback:ping><description>全文索引——CONTAINS 语法
我们通常在 WHERE 子句中使用 CONTAINS ，就象这样：SELECT * FROM table_name WHERE CONTAINS(fullText_column,'search contents')。 &lt;img src =&quot;http://blog.csdn.net/greatbag/aggbug/2127377.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 28 Feb 2008 19:52:00 +0800</pubDate><author>greatbag</author><comments>http://blog.csdn.net/greatbag/archive/2008/02/28/2127377.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/greatbag/archive/2008/02/28/2127377.aspx</guid><dc:creator>greatbag</dc:creator></item><item><title>配置Visual Studio 以调试.net framework的源代码(转载)</title><link>http://blog.csdn.net/greatbag/archive/2008/01/17/2049518.aspx</link><wfw:comment>http://blog.csdn.net/greatbag/comments/2049518.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/greatbag/comments/commentRss/2049518.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2049518</trackback:ping><description>.net framework开源啦&lt;img src =&quot;http://blog.csdn.net/greatbag/aggbug/2049518.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 18 Jan 2008 00:14:00 +0800</pubDate><author>greatbag</author><comments>http://blog.csdn.net/greatbag/archive/2008/01/17/2049518.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/greatbag/archive/2008/01/17/2049518.aspx</guid><dc:creator>greatbag</dc:creator></item><item><title>ASP.NET 2.0 页面事件执行顺序</title><link>http://blog.csdn.net/greatbag/archive/2007/12/12/1932206.aspx</link><wfw:comment>http://blog.csdn.net/greatbag/comments/1932206.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/greatbag/comments/commentRss/1932206.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1932206</trackback:ping><description>ASP.NET 2.0 页面事件执行顺序&lt;img src =&quot;http://blog.csdn.net/greatbag/aggbug/1932206.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 13 Dec 2007 07:28:00 +0800</pubDate><author>greatbag</author><comments>http://blog.csdn.net/greatbag/archive/2007/12/12/1932206.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/greatbag/archive/2007/12/12/1932206.aspx</guid><dc:creator>greatbag</dc:creator></item></channel></rss>