- 博客(3)
- 收藏
- 关注
原创 SQL 统计工作日 不含周六日
create function dbo.FC_WorkDay(@StartTime datetime,@EndTime datetime) returns int as begin declare @workdays int declare @weeks int --工作的完整周数 select @weeks=(datediff(day,@StartTi
2011-06-23 11:31:00 632
转载 SQL2008定时作业
SQL2008如何创建定时作业?此方法也适应于Sql Server2005数据库1.打开【SQL Server Management Studio】,在【对象资源管理器】列表中选择【SQL Server 代理】;--2.鼠标右击【SQL Server 代理】,选择【启动(S)】,如已启动,可以省略此步骤;--3.展开【SQL Server 代理】列表,右击【作业】-->【新建作业】;--3
2011-06-23 11:10:00 306
原创 GridView统计行添加
protected void GridView2_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.Footer)//行统计 { int count = 0;
2011-06-21 09:03:00 294
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人