我看有的asp代码中,有的地方写<form name="form1" method="post" action="">.这个<FORM>放这里有什么用呢

解决方案 »

  1.   

    asp.net 生成html 时,一些代码会被IIS自动加入!
      

  2.   

    <form name="form1" method="post" action="index.asp">
    form里放一button且type=submit
    可以将form里的表单值用post方式提交到index.asp页面中楼主走错门了吧
      

  3.   

    index.asp页可用 
    request.form("")
    接收提交过来的值
      

  4.   

    <form name="form1" method="post" action="">name 不用说
    method="post"  是用post的方法提交表单
    action是表单提交给的页面(处理程序)