标题:这段程序看不懂,有哪位好心的朋友帮忙解答一下
取消只看楼主
xlz33825
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2009-11-25
结帖率:50%
已结贴  问题点数:20 回复次数:0 
这段程序看不懂,有哪位好心的朋友帮忙解答一下
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/sjb.asp" -->
<%
if  session("user")="" then
response.redirect "login.asp"
response.end
end if
 %>
 <%
current1=Year(Request.form("ksrq"))&"/01/01"
current2=Year(Request.form("jsrq"))&"/"&Month(Request.form("jsrq"))&"/31"
previous1=Year(DateAdd("yyyy",-1,Request.form("ksrq")))&"/01/01"
previous2=Year(DateAdd("yyyy",-1,Request.form("jsrq")))&"/"&Month(Request.form("jsrq"))&"/31"
%>
<%
Dim Recordset6__ColPara1, hbksrq, tbksrq
Recordset6__ColPara1 = "null"
if (Request.form("ksrq") <> "") then
Recordset6__ColPara1 = Request.form("ksrq")
hbksrq=DateAdd("m",-1,Request.form("ksrq"))
tbksrq=DateAdd("yyyy",-1,Request.form("ksrq"))
'qnksrq=Year(Request.form("ksrq"))&"01/01"
end if
'Recordset6__ColPara1 ="2009/12/1"
%>
<%
Dim Recordset6__ColPara2,hbjsrq,tbjsrq
Recordset6__ColPara2 = "null"
if (Request.form("jsrq") <> "") then
Recordset6__ColPara2 = Request.form("jsrq")
hbjsrq=Year(Request.form("jsrq"))&"/"&Month(DateAdd("m",-1,Request.form("jsrq")))&"/31"
tbjsrq=Year(DateAdd("yyyy",-1,Request.form("jsrq")))&"/"&Month(Request.form("jsrq"))&"/31"
'qnjsrq=Year(Request.form("jsrq"))&"/"&Month(Request.form("jsrq"))&"/31"
end if
'Recordset6__ColPara2 ="2009/12/31"
%>
<%
搜索更多相关主题的帖子: 朋友 
2011-02-10 11:17



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-331975-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.258789 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved