日期:2014-05-17  浏览次数:20930 次

求教asp页面传递问题,在线求教
先列出我的程序:
1.登陆界面的提交部分程序
<Form   method= "psot "   action= "02_11.asp ">
<p   align= "center "> 请输入用户名:
<input   type= "text "   name= "YHM "   maxlength= "10 "   size= "10 "   value= "ysy "> </input>
<p   align= "center "> 请输入密码:
    <input   type= "password "   name= "pwd1 "   maxlength= "10 "   size= "10 ">
    </input>
<P   align= "center ">      
    <input   type= "submit "   value= "确定 "   name= "btnSubmit ">
</form>

2.跳转连接02_11.asp的程序
<html>
<head>
<title> </title>
<body>

<%Dim   uu
    uu=Request( "YHM ")    
    Response.Write   uu
   
  Dim   objConn1
    '打开数据库连接
    Set   objConn1=Server.CreateObject( "ADODB.Connection ")
    objConn1.ConnectionString= "Provider=Microsoft.Jet.OLEDB.4.0; "&_
                                                              "Data   Source= "&Server.MapPath( "\ "&uu& "\ "&uu& ".mdb ")
    objConn1.Open%>
 

<Form   method= "psot "   >
<p> 请输入零件名称:
<input   type= "text "   name= "LJM "   maxlength= "10 "   size= "6 "   > </input>
请输入零件号:
<input   type= "text "   name= "LJH "   maxlength= "10 "   size= "6 "   > </input>
请输入材料名称或牌号:
<select   name= "CLM "   size= "1 ">
<option   value= "HT140 "> HT140
<option   value= "HT140 "> HT140 </select>
请输入毛胚形状及尺寸:
<input   type= "text "   name= "MPX "   maxlength= "10 "   size= "10 "   > </input>
<p> 请输入一件毛料可制零件数:
    <input   type= "text "   name= "YJM "   maxlength= "10 "   size= "4 "> </input>
请输入材料消耗定额:
<input   type= "text "   name= "CLX "   maxlength= "10 "   size= "10 "> </input>
请输入零件毛重:
<input   type= "text "   name= "LJZ "   maxlength= "10 "   size= "4 "> </input>
请输入毛胚净重:
<input   type= "text "   name= "MPZ "   maxlength= "10 "   size= "4 "> </input>
<p> 请输入每台产品零件数:
    <input   type= "text "   name= "MTC "   maxlength= "10 "   size= "4 "> </input>
    请输入每批件数:
    <input   type= "text "   name= "MPJ "   maxlength= "10 "   size= "4 "> </input>