Linq:
http://www.cnblogs.com/webabcd/category/109187.html
http://www.cnblogs.com/lovecherry/archive/2007/08/13/853754.html