\u5b9e\u4f8b<\/strong><\/p>\n<html>\r\n<body>\r\n<form action=\"demo_classicasp.aspx\" method=\"post\">\r\nYour name: <input type=\"text\" name=\"fname\" size=\"20\">\r\n<input type=\"submit\" value=\"Submit\">\r\n<\/form>\r\n<%\r\ndim fname\r\nfname=Request.Form(\"fname\")\r\nIf fname<>\"\" Then\r\nResponse.Write(\"Hello \" & fname & \"!\")\r\nEnd If\r\n%>\r\n<\/body>\r\n<\/html><\/pre>\n\u4e0b\u9762\u662f\u65b0\u7684 ASP .NET\u3002\u5f53\u60a8\u63d0\u4ea4\u6309\u94ae\u65f6\uff0c\u8868\u5355\u503c\u4e0d\u4f1a\u88ab\u5220\u9664\uff1a<\/p>\n
\u5b9e\u4f8b<\/strong>
\n\u70b9\u51fb\u5b9e\u4f8b\u7684\u53f3\u4fa7\u6846\u67b6\u4e2d\u7684\u67e5\u770b\u4ee3\u7801\uff0c\u60a8\u4f1a\u770b\u5230 ASP .NET \u5df2\u7ecf\u5728\u8868\u5355\u4e2d\u6dfb\u52a0\u4e86\u4e00\u4e2a\u9690\u85cf\u57df\u6765\u7ef4\u5ea6 ViewState\u3002<\/p>\n<script runat=\"server\">\r\nSub submit(sender As Object, e As EventArgs)\r\nlbl1.Text=\"Hello \" & txt1.Text & \"!\"\r\nEnd Sub\r\n<\/script>\r\n<html>\r\n<body>\r\n<form runat=\"server\">\r\nYour name: <asp:TextBox id=\"txt1\" runat=\"server\" \/>\r\n<asp:Button OnClick=\"submit\" Text=\"Submit\" runat=\"server\" \/>\r\n<p><asp:Label id=\"lbl1\" runat=\"server\" \/><\/p>\r\n<\/form>\r\n<\/body>\r\n<\/html><\/pre>\n<\/form>\n","protected":false},"excerpt":{"rendered":"\u5728\u7ecf\u5178\u7684 ASP \u4e2d\uff0c\u5f53\u4e00\u4e2a\u8868\u5355\u88ab\u63d0\u4ea4\u65f6\uff0c\u6240\u6709\u7684\u8868\u5355\u503c\u90fd\u4f1a\u88ab\u6e05\u7a7a\u3002\u5047\u8bbe\u60a8\u63d0\u4ea4\u4e86\u5f88\u591a\u4fe1\u606f\uff0c\u8fd4\u56de\u5230\u670d\u52a1\u5668\u7684\u4e00\u4e2a\u9519\u8bef […]<\/p>\n","protected":false},"author":1470,"featured_media":237668,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-237666","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/237666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/users\/1470"}],"replies":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/comments?post=237666"}],"version-history":[{"count":3,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/237666\/revisions"}],"predecessor-version":[{"id":237671,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/237666\/revisions\/237671"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media\/237668"}],"wp:attachment":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media?parent=237666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/categories?post=237666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/tags?post=237666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}