04 2012 档案

摘要:if (e.Row.RowType == DataControlRowType.DataRow) { //当鼠标停留时更改背景色 e.Row.Attributes.Add("onmouseover", "c=this.style.backgroundColor;this.style.backgroundColor='#EBFBBA'"); //当鼠标移开时还原背景色 e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=c"); 阅读全文
posted @ 2012-04-17 11:22 GerryGe 阅读(240) 评论(0) 推荐(0) 编辑
摘要:1、Sybase://周五至周四//select convert(varchar(10),dateadd(day,-1-datepart(weekday,getdate()),getdate()),111);//select convert(varchar(10),dateadd(day,5-datepart(weekday,getdate()),getdate()),111);//上个月第一天 上个月最后一天select dateadd(mm,datediff(mm,'1900-1-1',dateadd(mm,-1,getdate())),'1900-1-1' 阅读全文
posted @ 2012-04-09 13:55 GerryGe 阅读(503) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示
主题色彩