<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Do the Right Thing Right.</title><subtitle type="text"/><id>http://feed.cnblogs.com/blog/u/29394/rss</id><updated>2011-09-30T07:35:29Z</updated><author><name>杨标</name><uri>http://www.cnblogs.com/symbol441/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/symbol441/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/29394/rss"/><entry><id>http://www.cnblogs.com/symbol441/archive/2009/03/18/1415421.html</id><title type="text">关于SQL连接 加条件查询的LINQ表达式写法</title><summary type="text">为了提高开发效率，公司的的开发大量采用LINQ To SQL进行开发在这里把项目中遇上的问题和大家分享一下。(即LINQ to sql 连接加条件查询的问题）问题描述：表结构以及相关测试数据脚本如下[代码]现在有这样一个需求，就是需要显示出所有的会员信息（即MemberInfo)的信息，但排序需按照会员排序表（MemberSort）中会员类型（MemberType)为0的SortNumber列进行...</summary><published>2009-03-18T07:08:00Z</published><updated>2009-03-18T07:08:00Z</updated><author><name>杨标</name><uri>http://www.cnblogs.com/symbol441/</uri></author><link rel="alternate" href="http://www.cnblogs.com/symbol441/archive/2009/03/18/1415421.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/symbol441/archive/2009/03/18/1415421.html"/></entry><entry><id>http://www.cnblogs.com/symbol441/archive/2008/08/01/1258033.html</id><title type="text">关于LINQ中实现随机查询数据库中记录</title><summary type="text">传统使用sql命令行方式[代码]当随着LINQ时代的来代，这一切就有点不太好用了按照传统的思路，我们可以把LINQ查询式写为[代码]问题出现了，在C＃当中根本就没有提供NEWID()这个方法..几经周折，终于发现了一个比较可行的方案，就是为其添加这个NEWID()方法下面是实现方案首先我们需要在系统自由生成的o/p mapping代码中添加这个方法如果是用户自己编写的（或是工具生成的）o/p ma...</summary><published>2008-08-01T03:22:00Z</published><updated>2008-08-01T03:22:00Z</updated><author><name>杨标</name><uri>http://www.cnblogs.com/symbol441/</uri></author><link rel="alternate" href="http://www.cnblogs.com/symbol441/archive/2008/08/01/1258033.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/symbol441/archive/2008/08/01/1258033.html"/></entry><entry><id>http://www.cnblogs.com/symbol441/archive/2008/07/28/1254316.html</id><title type="text">.NET新特性--扩展方法</title><summary type="text">最近新采用vs2008进行开发，其中大致了解了一下.net3.5中的新特性。今天就新特性之扩展方法，其功能类似于老版本当中的继承。扩展方法使您能够向现有类型&amp;#8220;添加&amp;#8221;方法，而无需创建新的派生类型、重新编译或以其他方式修改原始类型。扩展方法是一种特殊的静态方法，但可以像扩展类型上的实例方法一样进行调用。调用扩展方法与调用在类型中实际定义的方法之间没有明显的差异。扩展方法的行为和...</summary><published>2008-07-28T01:48:00Z</published><updated>2008-07-28T01:48:00Z</updated><author><name>杨标</name><uri>http://www.cnblogs.com/symbol441/</uri></author><link rel="alternate" href="http://www.cnblogs.com/symbol441/archive/2008/07/28/1254316.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/symbol441/archive/2008/07/28/1254316.html"/></entry><entry><id>http://www.cnblogs.com/symbol441/archive/2008/06/21/1227246.html</id><title type="text">Array中数据强制数据类型转换</title><summary type="text">因为工作需要，有工作中需要大量的把string数组转换成为int数组我们知道如果需要转换string数组当中的所有数所成为int有一个非常传统的方法以下是测试demo[代码]其实ms在VS当中提供了一个非常实用的方法可以供我们使用直接进行转换的，不过其原理其实也是一样那就是Array.ConvertAll这个方法MSDN描述为public static TOutput[] ConvertAll&amp;l...</summary><published>2008-06-21T03:51:00Z</published><updated>2008-06-21T03:51:00Z</updated><author><name>杨标</name><uri>http://www.cnblogs.com/symbol441/</uri></author><link rel="alternate" href="http://www.cnblogs.com/symbol441/archive/2008/06/21/1227246.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/symbol441/archive/2008/06/21/1227246.html"/></entry><entry><id>http://www.cnblogs.com/symbol441/archive/2008/05/29/1185048.html</id><title type="text">the Project type is not supported by installation 项目类型不能正确加载</title><summary type="text">问题描述：vs2003的项目不能在vs2005中正常加载。解决方法：第一步：安装Microsoft Visual Studio 2005 &amp;#8211; Update to Support Web Application Projects 补丁下载地址：http://www.microsoft.com/downloads/en/details.aspx?FamilyId=8B05EE00-9554-4733-8725-3CA89DD9BFCA&amp;amp;displaylang=en第二步：安装WebApplicationProjectSetup.msi下载地址：http://download.m</summary><published>2008-05-29T05:37:00Z</published><updated>2008-05-29T05:37:00Z</updated><author><name>杨标</name><uri>http://www.cnblogs.com/symbol441/</uri></author><link rel="alternate" href="http://www.cnblogs.com/symbol441/archive/2008/05/29/1185048.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/symbol441/archive/2008/05/29/1185048.html"/></entry><entry><id>http://www.cnblogs.com/symbol441/archive/2008/05/25/1193602.html</id><title type="text">ASP.NET三层架构中数据绑定的问题</title><summary type="text">注意在三层架构中gridview绑定objectSource时,如果是实体对象绑定,但在删除方法是没有采用实体对象为参数的删除方法在业务逻辑层就会报错.错误信息为&amp;#8220;/&amp;#8221;应用程序中的服务器错误。--------------------------------------------------------------------------------ObjectDataSo...</summary><published>2008-05-25T14:23:00Z</published><updated>2008-05-25T14:23:00Z</updated><author><name>杨标</name><uri>http://www.cnblogs.com/symbol441/</uri></author><link rel="alternate" href="http://www.cnblogs.com/symbol441/archive/2008/05/25/1193602.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/symbol441/archive/2008/05/25/1193602.html"/></entry><entry><id>http://www.cnblogs.com/symbol441/archive/2008/04/15/1154789.html</id><title type="text">ASP.NET 2.0中XML数据的处理</title><summary type="text">SqlDataSource和ObjectDataSource控件都是平面表格式的数据源控件,操作也相对简单,在这里我就不细说了.在这里我主要谈下用于连接XML文件的XmlDataSource和用于连接站点导航数据的SiteMapDataSource这两个层次数据源控件中XmlDataSource数据绑定到平面表格控件的一起东东.XmlDataSource控件允许其它控件绑定到XML数据。XmlDa...</summary><published>2008-04-15T11:32:00Z</published><updated>2008-04-15T11:32:00Z</updated><author><name>杨标</name><uri>http://www.cnblogs.com/symbol441/</uri></author><link rel="alternate" href="http://www.cnblogs.com/symbol441/archive/2008/04/15/1154789.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/symbol441/archive/2008/04/15/1154789.html"/></entry><entry><id>http://www.cnblogs.com/symbol441/archive/2008/02/19/1073291.html</id><title type="text">小牛生产小牛的问题解决集粹</title><summary type="text">问题： 一只刚出生的小牛，4年后生一只小牛，以后每年生一只。现有一只刚出生的小牛，问N年后共有牛多少只？1.原始笨方法privateintComput(intyears){//初始化为1头牛intcount=1;if(years&amp;lt;4){returncount;}while(years-3&amp;gt;0){count=count+Comput(years-3);years--;}returncou...</summary><published>2008-02-19T03:56:00Z</published><updated>2008-02-19T03:56:00Z</updated><author><name>杨标</name><uri>http://www.cnblogs.com/symbol441/</uri></author><link rel="alternate" href="http://www.cnblogs.com/symbol441/archive/2008/02/19/1073291.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/symbol441/archive/2008/02/19/1073291.html"/></entry><entry><id>http://www.cnblogs.com/symbol441/archive/2008/01/25/1052766.html</id><title type="text">&lt;转&gt;自毁前程的七种行为 </title><summary type="text">职场里有句话：「不打勤，不打懒，专打不长眼。」这些不长眼的白目职场人现在有个新绰号──「职场小白」，这些人不是状况外，就是「千错万错，反正都不是我的错」；职场新人们可千万不要成为小白，免得自毁前程！职场如丛林求生，一旦抓住了生存要领，你就一帆风顺、步步升迁，但若太「白目」，搞不清状况，或过于保护自己，最终，你的前途将断送在自己手里。心理学博士，目前担任104研发中心协理的王荣春，对于职场人的心理状...</summary><published>2008-01-25T03:16:00Z</published><updated>2008-01-25T03:16:00Z</updated><author><name>杨标</name><uri>http://www.cnblogs.com/symbol441/</uri></author><link rel="alternate" href="http://www.cnblogs.com/symbol441/archive/2008/01/25/1052766.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/symbol441/archive/2008/01/25/1052766.html"/></entry><entry><id>http://www.cnblogs.com/symbol441/archive/2008/01/12/1036279.html</id><title type="text">&lt;转&gt;在 ASP.NET 中执行 URL 重写 </title><summary type="text">引言让我们花点时间来看一下网站上的一些 URL。您是否发现一些类似于 http://yoursite.com/info/dispEmployeeInfo.aspx?EmpID=459-099&amp;amp;type=summary 的 URL？或者，您可能将一系列网页从一个目录或网站移动到另一个目录或网站，结果导致已将旧 URL 用作书签的访问者断开链接。在本文中，我们将了解如何通过将 http://y...</summary><published>2008-01-12T08:22:00Z</published><updated>2008-01-12T08:22:00Z</updated><author><name>杨标</name><uri>http://www.cnblogs.com/symbol441/</uri></author><link rel="alternate" href="http://www.cnblogs.com/symbol441/archive/2008/01/12/1036279.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/symbol441/archive/2008/01/12/1036279.html"/></entry></feed>
