随笔分类 -  00.Net

上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页
摘要:http://haacked.com/archive/2008/03/13/url-routing-debugger.aspx[代码]库文件:asp.net_mvc_routing_debugger.zip 阅读全文
posted @ 2010-12-20 13:07 庚武 阅读(248) 评论(0) 推荐(0) 编辑
摘要:1.Linq2.Extension Methods3.Lambda Methods string [] names=new string[]{"bill","Jane","Bob"}; IEnumberablestring bs=name.Wherestring(deletegate(string s){ return s.StartWith("b"); });等同于: IEnumberablestring bs=names.Where( n = n.StartWith("b") );4.Generic Type Inference5.Automatic properties6. 阅读全文
posted @ 2010-12-18 16:36 庚武 阅读(193) 评论(0) 推荐(0) 编辑
摘要:示例代码: 阅读全文
posted @ 2010-12-18 15:21 庚武 阅读(331) 评论(0) 推荐(0) 编辑
摘要:var customers = BuildCustomers();var results = from c in customers from o in c.Orders where c.FirstName.Length >=5 && o.Product == "Milk" group by c into avg select new { avg.Key.Firs... 阅读全文
posted @ 2010-12-09 14:56 庚武 阅读(319) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2010-12-09 14:38 庚武 阅读(5) 评论(0) 推荐(0) 编辑
摘要:火狐浏览器功能强大,安全性高,但是它的启动速度比较慢,打开网页的速度也比较一般,但是我们可以通过简单的设置让它成为最优秀的浏览器,具体操作如下:在火狐地址栏中输入: about:config进入配置1.右键点击FireFox的快捷方式,在“属性”—“快捷方式”—“目标”,加上参数“ /Prefetch:1”。即:"C:Program FilesMozilla Firefox irefox.exe" /Prefetch:1”(注意:“/”前有空格)2.让火狐在最小化时自动释放内存:右击鼠标-新建-布尔(boolean)项,输入:config.trim_on_minimize,并设置为true。做 阅读全文
posted @ 2010-12-07 17:03 庚武 阅读(3419) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2010-12-07 16:48 庚武 阅读(2) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2010-12-07 16:27 庚武 阅读(4) 评论(0) 推荐(0) 编辑
摘要:finally语句块中,i将变成3,但res=2.结论:在return之后,再执行finally语句. 阅读全文
posted @ 2010-12-04 00:29 庚武 阅读(230) 评论(0) 推荐(0) 编辑
摘要:AutoIT 3主页.http://www.autoitscript.com/autoit3/ 阅读全文
posted @ 2010-12-02 18:17 庚武 阅读(497) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2010-11-21 22:20 庚武 阅读(7) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2010-11-16 10:39 庚武 阅读(2) 评论(0) 推荐(0) 编辑
摘要:http://msdn.microsoft.com/zh-cn/library/h6bb9cz9(VS.80).aspx 阅读全文
posted @ 2010-11-04 11:36 庚武 阅读(813) 评论(0) 推荐(0) 编辑
摘要:XPath 是一门在 XML 文档中查找信息的语言。XPath 用于在 XML 文档中通过元素和属性进行导航。什么是 XPath?XPath 使用路径表达式在 XML 文档中进行导航XPath 包含一个标准函数库XPath 是 XSLT 中的主要元素XPath 是一个 W3C 标准XPath 路径表达式XPath 使用路径表达式来选取 XML 文档中的节点或者节点集。这些路径表达式和我们在常规的电... 阅读全文
posted @ 2010-10-30 11:26 庚武 阅读(540) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace SingletonDemo{ public sealed class Singleton { private Singleton() { } private static... 阅读全文
posted @ 2010-10-28 00:42 庚武 阅读(310) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2010-10-17 15:45 庚武 阅读(113) 评论(0) 推荐(0) 编辑
摘要:部分摘自:http://student.csdn.net/space.php?uid=42425&do=blog&id=8663 阅读全文
posted @ 2010-10-13 19:36 庚武 阅读(870) 评论(0) 推荐(0) 编辑
摘要:用sql profiler 监视运行的sql语句如下: 阅读全文
posted @ 2010-10-13 15:01 庚武 阅读(1246) 评论(0) 推荐(0) 编辑
摘要:来源:http://weblogs.asp.net/scottgu/archive/2007/05/19/using-linq-to-sql-part-1.aspxOver the last few months I wrote a series of blog posts that covered some ofthe new language features that are coming ... 阅读全文
posted @ 2010-10-13 14:50 庚武 阅读(141) 评论(0) 推荐(0) 编辑
摘要:static void Main() { string strcon = global::TestLinqToSQL.Properties.Settings.Default.testConnectionString; SqlConnection conn = new SqlConnection(strcon); ... 阅读全文
posted @ 2010-10-13 14:06 庚武 阅读(3860) 评论(1) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页