⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 saveto.asp

📁 ASP入门与提高实用教程 源文件(上传网站)
💻 ASP
字号:
<!--#include file="top.asp"-->
<center>

<table border="0" width="760" cellspacing="0" cellpadding="0" height="312">
  <tr>
    <td width="190" height="312" valign="top" align="left">
    <table border="0" width="190" cellspacing="0" cellpadding="0">
      <tr>
        <td width="190" valign="top" align="left"><!--#include file="left.asp"--></td>
      </tr>
    </table>
    </td>
</center>
    <td width="380" valign="top" align="left">
    <table border="0" width="380" cellspacing="0" cellpadding="0" height="5">
      <tr>
        <td width="380" bgcolor="#FF9A31" height="18">
        <%
        if request("sub_to")="" then
        response.write "收货人姓名不能为空!"
        elseif request("sub_adds")="" then
        response.write "收货人地址不能为空!"
        elseif request("sub_number")="" then
        response.write "没有此订单信息"
        elseif request("sub_mail")="" then
        response.write "收货人的E-mail不能为空!"
        elseif request("sub_tel")="" then
        response.write "收货人电话不能为空!"
        else
        sub_to=request("sub_to")
        sub_adds=request("sub_adds")
        sub_mail=request("sub_mail")
        sub_tel=request("sub_tel")
        sub_number=request("sub_number")
        sql="select * from sub where sub_number='"&sub_number&"'"
        rs.open sql,conn,3,3
        rs("sub_to")=sub_to
        rs("sub_tel")=sub_tel
        rs("sub_mail")=sub_mail
        rs("sub_adds")=sub_adds
        rs.update
        rs.close
        response.write "收货人信息如下"
        %>
        </td>
      </tr>
      <tr>
  <td width="100%" bgcolor="#63CFFF">
    <table border="0" width="100%" cellspacing="1">
      <tr>
        <td width="20%" bgcolor="#FFFFFF">
          收货人
        </td>
        <td width="80%" bgcolor="#FFFFFF"><%=sub_to%>
        </td>
      </tr>
      <tr>
        <td width="20%" bgcolor="#FFFFFF">地址
        </td>
        <td width="80%" bgcolor="#FFFFFF"><%=sub_adds%></td>
      </tr>
    </table>
  </td>
<%end if%>
      </tr>
      <tr>
  <td width="100%"></td>
      </tr>

<center>


      </table>
    </center>
    </td>
    <td width="190" valign="top" align="left">
    <table border="0" width="190" cellspacing="0" cellpadding="0">
      <tr>
        <td width="190"><!--#include file="right.asp"--></td>
      </tr>
    </table>
    </td>
  </tr>
</table>
<!--#include file="copy.asp"-->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -