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

📄 editquestion.asp

📁 三鸟个人网站源码。
💻 ASP
字号:
<!--#include file="session.asp"-->
<!--#include file="conn.asp"-->
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<LINK href="style.css" rel=stylesheet>
</head>
<script language="VBScript">
<!--
Sub Checkdata()
if question.answer.Value = Empty then
Window.Alert"回答内容没有填写"
Exit Sub
End if
question.submit
End sub
-->
</script>
<body>
<%
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from control2 where id="&request("id") 
rs.open sql,conn,3,3
%>
<div align="center">
  <center>
  <form method="POST" name="question" action="question_to.asp?id=<%=rs("id")%>">
  <table border="0" cellpadding="0" cellspacing="1" width="524" bgcolor="#000000" height="373">
    <tr>
      <td bgcolor="#FFFFFF" width="104" align="center" height="33">用 户 名:</td>
      <td bgcolor="#FFFFFF" width="418" height="33">&nbsp;<%=rs("d_webname")%></td>
    </tr>
    <tr>
      <td bgcolor="#FFFFFF" width="104" align="center" valign="top" height="128"><br>
        咨询问题:</td>
      <td bgcolor="#FFFFFF" width="418" height="128">
        <div align="center">
          <table border="0" cellpadding="0" cellspacing="0" width="400" height="126" style="border-collapse: collapse; word-break: break-all">
            <tr>
              <td width="398" height="126"><%=rs("d_question")%></td>
            </tr>
          </table>
        </div>
      </td>
    </tr>
    <tr>
      <td bgcolor="#FFFFFF" width="104" align="center" valign="top" height="157"><br>
        回答内容:</td>
      <td bgcolor="#FFFFFF" width="418" height="157">&nbsp;<textarea rows="7" name="answer" cols="45"></textarea></td>
    </tr>
    <tr>
      <td bgcolor="#FFFFFF" width="104" align="center" height="18">操作情况:</td>
      <td bgcolor="#FFFFFF" width="418" height="18">&nbsp;<input type="radio" value="1" name="cao2">完成操作</td>
    </tr>
    <tr>
      <td bgcolor="#FFFFFF" colspan="2" width="494" height="27">
        <p align="center"><input type="button" value="完成操作" name="B1" ONCLICK="Checkdata"></p>
      </td>
    </tr>
  </table>
  </form>
  <%rs.close
set rs=nothing
conn.close
set conn=nothing%>
  </center>
</div>

</body>

</html>

⌨️ 快捷键说明

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