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");
阅读全文
摘要: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'
阅读全文
