App下载

try_webpages_vb_009 在线工具

try_webpages_vb_009 在线工具

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="/statics/demosource/showrazor.css" />
</head>
<body>
<!DOCTYPE html>
<html>&nbsp;

<body>&nbsp;

<span class="marked">@if (IsPost)

Dim companyname = Request(&quot;CompanyName&quot;)&nbsp;

Dim contactname = Request(&quot;ContactName&quot;)&nbsp;

@</span><p>You entered: 



Company Name: <span class="marked">@companyname</span> 
&nbsp;

Contact Name: <span class="marked">@contactname</span> </p>&nbsp;

<span class="marked">else

@</span><form method=&quot;post&quot; action=&quot;&quot;>&nbsp;

Company Name:


<input type=&quot;text&quot; name=&quot;CompanyName&quot; value=&quot;&quot;>


Contact Name:


<input type=&quot;text&quot; name=&quot;ContactName&quot; value=&quot;&quot;>



<input type=&quot;submit&quot; value=&quot;Submit&quot; class=&quot;submit&quot;>&nbsp;

</form>&nbsp;

<span class="marked">end if</span>
</body>
</html>
运行结果