简单教程
提交运行
代码编辑器:
<!DOCTYPE html> <meta charset="utf-8" /> <form action="demo_classicasp.aspx" method="post"> Your name: <input type="text" name="fname" size="20"> <input type="submit" value="Submit"> </form> <% dim fname fname=Request.Form("fname") If fname<>"" Then Response.Write("Hello " & fname & "!") End If %>
运行结果: