上一页 1 2 3 4 5 6 7 8 9 ··· 21 下一页
  2009年9月27日
摘要: Different ways how to escape an XML string in C#XML encoding is necessary if you have to save XML text in an XML document. If you don't escape special chars the XML to insert will become a part of the... 阅读全文
posted @ 2009-09-27 09:14 shawnliu 阅读(1145) 评论(0) 推荐(0) 编辑
  2009年9月13日
摘要: SQL - SELECT TOP n or SELECT TOP Random n Rows From a Table For Each Category or GroupYou may need asql querythat willselect top n recordsorrandom n recordsfor each categoryin a table. Thet-sql queryt... 阅读全文
posted @ 2009-09-13 22:33 shawnliu 阅读(605) 评论(0) 推荐(0) 编辑
摘要: INSERT INTO dbo.T1(keycol, datacol) VALUES(4, 'b');INSERT INTO dbo.T1(keycol, datacol) VALUES(6, 'c');INSERT INTO dbo.T1(keycol, datacol) VALUES(7, 'd');--looking for the minimum missing integer for d... 阅读全文
posted @ 2009-09-13 14:39 shawnliu 阅读(248) 评论(0) 推荐(1) 编辑
  2009年9月3日
摘要: DialogConversationsIn most messaging systems, messages are the basic unit ofcommunication. Each message is an isolated entity, and it's up to theapplication logic to keep track of sent and received me... 阅读全文
posted @ 2009-09-03 22:42 shawnliu 阅读(495) 评论(0) 推荐(0) 编辑
  2009年8月28日
摘要: DIV与SPAN之间有什么区别 解决思路:    DIV 和 SPAN 元素最大的特点是默认都没有对元素内的对象进行任何格式化渲染。主要用于应用样式表。两者最明显的区别在于DIV是块元素,而SPAN是行内元素(也译作内嵌元素)。 具体步骤: 1.所谓块元素,是以另起一行开始渲染的元素,行内元素则不需... 阅读全文
posted @ 2009-08-28 01:12 shawnliu 阅读(298) 评论(1) 推荐(0) 编辑
  2009年8月24日
摘要: http://www.luanxiang.org/blog/archives/605.html 阅读全文
posted @ 2009-08-24 00:50 shawnliu 阅读(235) 评论(0) 推荐(0) 编辑
  2009年8月7日
摘要: 揭秘ASP.NET 2.0的Eval方法     实际上Eval方法是TemplateControl的,而System.Web.UI.Page和System.Web.UI.UserControl都继承于TemplateControl,所以我们可以在Page和UserControl上直接调用个方法。    &#... 阅读全文
posted @ 2009-08-07 00:17 shawnliu 阅读(247) 评论(0) 推荐(0) 编辑
摘要: C#3.0新特性小结一.概述:        针对C#3.0新特性一些文章和学习资源整理了一下,方便查看与阅读。同时把C#3.0的新特性和Linq分开两个系列来写,这样比较清晰一点。 二.新特性小结:        1.C#3.0新体验(一) 隐含类... 阅读全文
posted @ 2009-08-07 00:15 shawnliu 阅读(142) 评论(0) 推荐(0) 编辑
  2009年8月6日
摘要: 很久没用vs2003了,晕用惯Eval("ss"),DataBinder好多都要不熟悉,也忘了什么时候网上转载记下DataBinder.Eval总结一、DataBinder.Eval的基本格式在绑定数据时经常会用到这个句程序:<%# DataBinder.Eval(Container.DataITem,"xxxx")%或者<%# DataBinder.Eval(Container,"... 阅读全文
posted @ 2009-08-06 23:47 shawnliu 阅读(213) 评论(0) 推荐(0) 编辑
  2009年8月5日
摘要: 大型网站架构演变和知识体系之前也有一些介绍大型网站架构演变的文章,例如LiveJournal的、ebay的,都是非常值得参考的,不过感觉他们讲的更多的是每次演变的结果,而没有很详细的讲为什么需要做这样的演变,再加上近来感觉有不少同学都很难明白为什么一个网站需要那么复杂的技术,于是有了写这篇文章的想法,在这篇文章中 将阐述一个普通的网站发展成大型网站过程中的一种较为典型的架构演变历程和所需... 阅读全文
posted @ 2009-08-05 22:39 shawnliu 阅读(280) 评论(1) 推荐(1) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 21 下一页