不行了交枪了,我有两个页发上来给大家看看
错误就是当我点击提交按钮时,没有放应呀. 第一页input.html<html> <head> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>新闻录入界面</title> </head> <body> <form action="input.asp" method ="post"> <p align="center"> <font size="5" face="华文行楷"><font color="#0000FF">大连新闻录入</font> </font></p> <p align="left"> 新闻标题:<input type = "text" size = "46" name = "xinwenhead"> 所属级别:<select size="1" name="jibie"> <option value="1">一级</option> <option value="2">二级</option> <option selected value="3">三级</option> </select></p> <p> 新闻内容:<textarea rows="20" name="xinwencontents" cols="95"></textarea></p> <p><input type ="submit" value ="提交"> <input type="reset" value="重置" name="B2"></p> </form> <p> </p> </body> </html> 完成的功能就是输入新闻标题,和新闻级别以及新闻的内容第二页input.asp <% Dim strSQL set conn= server.createobject("ADODB.Connection") conn.Open "filedsn=c:\program files\common files\odbc\data source\warehouse.dsn" strSQL = "insert info_xinwen_tab (C_jiebie,C_xinwenhead,C_xinwencontents,D_time) values ('"&jibie&"',"&xinwenhead&"','"&xinwencontents&"','getdate()')" oConn.execute strSQL oConn.Close %> <html> <head> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>新建网页 1</title> </head> <body> </body> </html> 大家帮我看看吧,谢谢,解决后我会给分的.