易截截图软件、单文件、免安装、纯绿色、仅160KB

ASP.NET按时间查询

select  top 6 *  from ViewHouseSale  where  1=1 and  (EstateType='0' or EstateType='1')
and DateDiff(day,PubDate,getdate()) <=7 and IfBenefit='Y' and IfValid='Y'  order by PubDate DESC
select  top 6 *  from ViewHouseSale  where  1=1 and  (EstateType='0' or EstateType='1')
PubDate  between  23:59:59' and  23:59:59'   and IfBenefit='Y' and IfValid='Y'  order by PubDate DESC
--当天
(usrRegTime >=CONVERT(varchar(10),getDate(),120)+' 00:00:00' and usrRegTime <=CONVERT(varchar (10),getDate(),120)+' 23:59:59')
--近三天
DateDiff(day,usrRegTime,getdate()) <=3
--本周
Datepart(year,usrRegTime)=DatePart(year,Getdate()) and DatePart(week,usrRegTime)=DatePart (week,GetDate())
--本月
Datepart(year,usrRegTime)=DatePart(year,Getdate()) and DatePart(month,usrRegTime)=DatePart (month,GetDate())


相关文档:

ASP.NET中防止页面多次提交的代码实现

此处提供的代码用来实现当asp.net页面中的某个Button被点击后disable掉该页面中所有的Button,从而防止提交延时导致的多次提交。基于之前的onceclickbutton脚本.
//ASP.NET中防止页面多次提交的代码:javascript< script language="javascript"> < !-- function disableOtherSubmit() {
var obj = event.srcElem ......

ASP.NET AJAX调用WebService

如何在客户端直接调用WebService中的方法?
这里结合经验自己写一写
1.首先新建一个 ASP.NET AJAX-Enabled Web Site,这样系统为我们自动配置好了环境,这主要体现在Web.config这个文件上,如果已有网站不是ASP.NET AJAX-Enabled Web Site也可以对照修改下Web.config,也可以达到相同的效果。
2.新建一个web服务,WebSer ......

asp.net下的数据图

图片:
http://hi.csdn.net/space-275744-do-album-picid-491613-goto-down.html
数据部分采用了C#+ASP.NET+ORACLE DB
图表部分采用了SQL SERVER 2005 的REPORTING SERVICE 。
将REPORTING SERVICE部署好以后,采用C#的REPORT VIEWER控件,就可以连到我们部署好的REPORT,省去自己动手画图的步骤。 ......

手把手教你做ASP.NET留言本

没有想到真的这么方便!更加坚定我学习ASP.NET的决心! 现在我们一起来看看吧
1,请确定你的电脑安装了以下的软件!
1.1,    WINDWOS 2000以上版本(必装)
1.2,    .NET Framework(必装)
1.3,    Visual Studio .NET 2005(必装)
2,建立一个ACCESS数据库,
3,拖动VS2005 的GRIDVIEW 到设 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号