韩国化妆品三大品牌:帮忙翻译一下下面的程序,尽量详细一些,越详细越好!!!!

来源:百度文库 编辑:神马品牌网 时间:2024/05/04 07:06:18
<%
search_flag=0
Msg="测点温度历史查询"

if Request.QueryString ("ID")<>"" then
Search_flag=1
elseif Request.form ("Slt_flag")="1" then
Search_flag=2
end if

select case Search_flag
case 1
PntID=Request.QueryString ("ID")
PntExplain=Request.QueryString ("Explain")
InputDateTime=date()
InputYear=year(InputDateTime)
InputMonth=month(InputDateTime)
InputDay=Day(InputDateTime)
case 2
pntid=Request.form ("ID")
InputYear=Request.Form ("SltYear")
InputMonth=Request.Form ("SltMonth")
InputDay=Request.Form ("SltDay")
'InputHour=Request.Form ("SltHour")

'if not (isnumeric(InputHour)) then Msg="<font color=red>请选择整点数!</font>"
if not (isnumeric(InputDay)) then Msg="<font color=red>请选择要查询的日期!</font>"
if not (isnumeric(InputMonth)) then Msg="<font color=red>请选择要查询的月份!</font>"
if (not (isnumeric(InputYear)) or len(cstr(InputYear))<>4) then Msg="<font color=red>请输入要查询的4位数字年份!</font>"
if pntid="" then
msg="<font color=red>请选择要查询的测点!</font>"
end if

InputDateTime=InputYear&"-"&InputMonth&"-"&InputDay
end select

'Response.Write InputYear&"年"&InputMonth&"月"&InputDay&"日"
'Response.Write "<br>"&Search_flag&"<br>"
'Response.Write PntID
'Response.Write "<br>"&aaa&"<br>"&InputDateTime
%>
<!--#include file="DBOpen.asp"-->
<div align="center">
<table border="0" width="780" id="table13" cellspacing="0" cellpadding="0">
<tr>
<td align="middle"><%=Msg%>
<table border="0" width="100%" id="table14" cellspacing="0" cellpadding="0">
<tr>
<td><form action="wdls.asp" method="post" id="form1" name="creator">
<table border="0" width="780" id="table15" cellspacing="0" cellpadding="0" height="30">
<tr>
<td align="center" valign="bottom" >
<p align="center">
<select size="1" name="ID" style="FONT-SIZE: 9pt;">
<option value="">请选择测点</option>
<%

set PntList_data=server.CreateObject("ADODB.Recordset")
set PntList_data=conn.execute ("select * from ScanPoints order by ID")
'i=pntlist_data.RecordCount

'Response.Write i
'
'set Pnt_TempWD_data=server.CreateObject ("adodb.recordset")

'set SltYear_data=conn.execute ("select * from 1011049 group by DateTime")

'String_conn="select * from "&PntID
'Response.Write string_conn

do until PntList_data.EOF
Slt_flag=""
if Cstr(Pntlist_data("ID"))=Cstr(pntid) and search_flag<>0 then Slt_flag="selected"
if Cstr(Pntlist_data("ID"))<>"1001049" and Cstr(Pntlist_data("ID"))<>"1001050" then
%>

"% SEARCH_FLAG=0 味精="测点温度历史查询" 如果request.querystring("智能")""""那么 SEARCH_FLAG=1 ElseifRequest.Form("SLT_FLAG")="1",那么 SEARCH_FLAG=2 如果年底 选案Search_flag 案例一 PNTID=request.querystring("身份证") Pntexplain=request.querystring("解释") INPUTDATETIME=()日 一年Inputyear=(INPUTDATETIME) =inputmonth月(INPUTDATETIME) =Inputday一天(INPUTDATETIME) 案例二 PNTID=request.form("身份证") Inputyear=request.form("Sltyear") inputmonth=request.form("SLTMONTH") Inputday=request.form("SLTDAY") 'Inputhour=request.form("Slthour") '如果不是当时(IsNumeric(INPUTHOUR))=味精"<fontcolor=red>请选择点整数!</font>" 如果不是(IsNumeric(INPUTDAY)),味精="<fontcolor=red>请选择查询的日期要!</font>" 如果不是(IsNumeric(INPUTMONTH)),味精="<fontcolor=red>请选择查询的要求!</font>月份" 如果(不(IsNumeric(INPUTYEAR))、Len(CSTR(INPUTYEAR))""4),味精="<fontcolor=red>请输入要查询的所有4位年数字!</font>" 如果Pntid=""那么 味精="<fontcolor=red>请选择查询基测点的!</font>" 如果年底 =InputdatetimeInputyear&"-"&Inputmonth&"-"&Inputday 最终选择 'Response.WriteInputyear&"年"&Inputmonth&"月"&Inputday&"日" 'response.write"<br>"科学SEARCH_FLAG科学"<br>" 'Response.WritePntid 'response.write"<br>"AAA&&"<br>"科学Inputdatetime 成" <!--#includefile="dbopen.asp"--> <divalign="center"> <tableBorder="0"Width="780"Id="table13"Cellspacing="0"cellpadding="0"> <tr> <tdalign="middle"><%=msg%> <tableBorder="0"Width="100%"Id="table14"Cellspacing="0"cellpadding="0"> <tr> <td><formAction="wdls.asp"Method="post"Id="form1"name="creator"> <tableBorder="0"Width="780"Id="table15"Cellspacing="0"Cellpadding="0"height="30"> <tr> <tdAlign="center"Valign="bottom"" <Palign="center"> <selectSize="1"Name="id"Style="font-size:9pt;"> 请选择<optionvalue="">测点</option> "% 定Pntlist_data=Server.CreateObject("ADODB.RECORDSET") 定PNTLIST_DATA=conn.execute("select*scanpoints从身分命令") '我Pntlist_data.recordcount= '我response.write 」 '定Pnt_tempwd_data=Server.CreateObject("ADODB.RECORDSET") '定SLTYEAR_DATA=conn.execute("select*1011049集团从DateTime") 'String_conn="*选择"科学Pntid 'Response.WriteString_conn 直到做Pntlist_data.eof SLT_FLAG="" 如果CSTR(Pntlist_data("智能"))=CSTR(PNTID),然后SEARCH_FLAGSLT_FLAG=""0"选择" 如果CSTR(Pntlist_data("智能"))"""1001049",CSTR(Pntlist_data("智能"))"""一百万一千零五十〇"然后 成"