ASP.NET HTML 控件 Label

asp.net html 控件  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>

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