Asp.net-web server Control Web server controls are servers that are specifically understood by the asp.net tag.
Like HTML server controls, Web server control is also created on the server,
They need a job that runat = "server" properties. However
Web server controls do not necessarily map to any existing HTML element.
They may be more complex factors.
syntax to create a Web server control is: <asp:control_name id= "some_id" runat= "Server"/>
In the following example, we declare a button to control the server.
aspx file. Then we create an event handler for the Click event that changes the text button: <script runat= "Server" >
Sub Submit (Source as Object, e as EventArgs)
Button1. Text= "You clicked Me!"
End Sub
</script><body><form runat= "Server" >
<asp:button id= "Button1" text= "click me!"
runat= "Server" onclick= "Submit"/>
</form></body>
Sub Submit (Source as Object, e as EventArgs)
Button1. Text= "You clicked Me!"
End Sub
</script>
Reprint Please specify: www.111cn.net/net/net.html