林林菜园
www.code84.com
摘要: 1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 int 月=currentTime.Month; 1.4 取当前日 int 日=curre... 阅读全文
posted @ 2009-05-08 18:04 林林菜园 阅读(212) 评论(0) 推荐(0)
摘要: 嵌套 DataList 通过DataSource属性进行梆定需要使用到onitemdatabound()事件先看效果图吧:系统全局配置和权限管理等栏目存储在classid表,而子项目存储在item表中。梆定子项是依具classid表的ID。像这样的情况就可用嵌套DataList 和嵌套Repeater来梆定。DataList 与Repeater的区别在于。DataList 会生成table等标签而... 阅读全文
posted @ 2009-05-08 17:27 林林菜园 阅读(206) 评论(0) 推荐(0)