asp.net新手入门脚本问题,求解答,急急急!!!。。

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm3.aspx.cs" Inherits="WebApplication4.WebForm3" %>

Sub submit( sender as Object ,e as EventArgs ) lbl1.Text="Your name is " & txt1.Text End Sub

<!DOCTYPE html>

Enter your name:



输出了错误

源错误:

行 2:

行 3: <br> 行 4: Sub submit( sender as Object ,e as EventArgs )<br> 行 5: lbl1.Text=&quot;Your name is &quot; &amp; txt1.Text<br> 行 6: End Sub<br> 。。。</p>

1)代码要放到WebForm3.aspx.cs中,WebForm3.aspx是页面设计。
2)既然是C#,你放一段VB.Net代码算什么意思?