Tracy.Bai

Focus on Data analysis and Mining

导航

2008年11月10日

javascript中的对象、类学习

摘要: //混合的原型/构造函数方法function Car(sColor,iDOoors,Impg) {this.color = sColor;this.door = iDOoors;this.mpg = Impg;this.drivers = new Array("Mike", "Sue");}var car1=new Car("red","2",23);var car2=new Car("green... 阅读全文

posted @ 2008-11-10 21:40 Love Fendi 阅读(294) 评论(0) 推荐(0) 编辑

2008年10月12日

linq in Action学习笔记(实体框架)

摘要: At the same time that the language teams were designing LINQ, the Microsoftdata teams were working on implementing this conceptual model to handle thesemore complex entity structures. They are calling... 阅读全文

posted @ 2008-10-12 22:37 Love Fendi 阅读(188) 评论(0) 推荐(0) 编辑

2008年10月8日

asp.net tips汇总

摘要: 1. 实用、简单的URL重写url为客户端看到的url,mappedUrl为实际的Url2.页面之间传值使用Page.PreviousPage 属性,获取向当前页传输控件的页。 找到相应的控件eg: TextBox t = ((TextBox)(PreviousPage.FindControl("Textbox1")));Calendar c = ((Calendar)(PreviousPage.... 阅读全文

posted @ 2008-10-08 22:12 Love Fendi 阅读(267) 评论(0) 推荐(0) 编辑

2008年10月6日

linq in action学习笔记第9章

摘要: 1.Linq to xml design principleswhy microsoft choose to create Linq to xml?already exists xml APIs: xmlReader ,xmlTextReader,xmlNode.LINQ to XML aims to solve these problems by providing mainstream dev... 阅读全文

posted @ 2008-10-06 21:52 Love Fendi 阅读(152) 评论(0) 推荐(0) 编辑

2008年8月23日

Linq in Action学习笔记(第三章)

摘要: 1. Linq与 language extension的关系 2.Linq 的触发机制-------Lazy evaluation 真正Request的时候才会被执行。 请单步调试下以下两个程序: static void Main(string[] args) { int[] number = { 1, 2, 3 }; ... 阅读全文

posted @ 2008-08-23 11:24 Love Fendi 阅读(170) 评论(0) 推荐(0) 编辑

2008年8月18日

Linq in action 学习笔记(一)

摘要: 第一章 一 什么是Linq Linq的起源:在我们的编程过程当中,不得不处理各种各样的数据。There is a gap between your programming language and relation database.(mismatch)在编程语言和关系型数据库之间存在着一定的不匹配。曾经有通过面向对象的数据... 阅读全文

posted @ 2008-08-18 22:35 Love Fendi 阅读(271) 评论(0) 推荐(0) 编辑

2008年8月15日

linq to sql实战

摘要: 1.Concat(连接) 连接不同集合的记录,不会过滤相同的记录。 (from c in Customers select c.City).Concat ( from c in Customers select c.Phone ) 注意:City和Phone都是在一列当中 2.Union(合并) 连接不同集合的记录,会过滤相同的记录。 (from c in Customers select... 阅读全文

posted @ 2008-08-15 23:33 Love Fendi 阅读(367) 评论(0) 推荐(0) 编辑

2008年8月12日

linq to object的第一个例子

摘要: MethodInfo[] methods = typeof(string).GetMethods(); var result = from m in methods where m.IsStatic != true select m.Name ; foreach (var r in ... 阅读全文

posted @ 2008-08-12 22:26 Love Fendi 阅读(178) 评论(0) 推荐(0) 编辑

c#3.0新特性

摘要: 1. automatic property 以前 我们 写属性 需要 这样写: public string LastName { get { return _lastName; } set { _lastName = value; ... 阅读全文

posted @ 2008-08-12 22:16 Love Fendi 阅读(455) 评论(0) 推荐(0) 编辑

2008年8月9日

【翻译】为什么UpdatePanel是危险的!

摘要: 假如你像我一样,无法抵挡这种诱惑,一个页面上放很多个UpdatePanel以及沉溺于Ajax的好处之中。UpdatePanel对于每个人来说都是很容易实现的,它不需要UpdatePanel在后台是怎么操作的。 但是,UpdatePanel在客户端和服务器之间交互的透明缺乏成为你的绊脚石。让我们来看下面这个例子: protected void Button1_Cli... 阅读全文

posted @ 2008-08-09 16:34 Love Fendi 阅读(257) 评论(0) 推荐(0) 编辑