摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//本文将详细讲解在c#语言中DateTime类常用技巧,具体来看下文吧!//今天DateTime.Now.Date.ToShortDateString();//昨天,就是今天的日期减一Dat... 阅读全文
posted @ 2009-01-09 22:39 三颗屎 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 首先解释一下URL:参考百度百科:URL条目URL即:统一资源定位符 (Uniform Resource Locator, URL) 完整的URL由这几个部分构成:scheme://host:port/path?query#fragment scheme:通信协议常用的http,ftp,maito等host:主机服务器(计算机)域名系统 (DNS) 主机名或 IP 地址。port:端口号整数,可选... 阅读全文
posted @ 2009-01-09 15:56 三颗屎 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 写ASP.NET中使用Eval是再常见不过的手段了,好像任何一本ASP.NET书里都会描述如何把一个DataTable绑定到一个控件里去,并且通过Eval来取值的用法。不过在目前的DDD(Domain Driven Design)时代,我们操作的所操作的经常是领域模型对象。我们可以把任何一个实现了IEnumerable的对象作为绑定控件的数据源,并且在绑定控件中通过Eval来获取字段的值。... 阅读全文
posted @ 2009-01-09 13:00 三颗屎 阅读(403) 评论(1) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//来自MSDN ASP.NET Repeater Example ... 阅读全文
posted @ 2009-01-09 12:24 三颗屎 阅读(199) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//1 使用REPEATER控件显示数据(指定字段显示)RepeaterBind.DataSource = ds.Tables["testTable"]; RepeaterBind.Da... 阅读全文
posted @ 2009-01-09 12:12 三颗屎 阅读(358) 评论(0) 推荐(0) 编辑