label

代碼:

<script  runat="server">

Sub submit(Sender As Object, e As EventArgs)

   label1.Text=txt1.Text

End Sub

</script>

 

<!DOCTYPE html>

<html>

<body>

 

<form runat="server">

Write some text:

<asp:TextBox id="txt1" Width="200" runat="server" />

<asp:Button id="b1" Text="Copy to Label" OnClick="submit" runat="server" />

<p><asp:Label id="label1" runat="server" /></p>

</form>

 

</body>

</html>

結(jié)果:

相關(guān)文章
亚洲国产精品第一区二区,久久免费视频77,99V久久综合狠狠综合久久,国产免费久久九九免费视频