WEB control

xiaoxiao2021-03-06  101

Author: Flying

WEB control

I don't think I haven't known how to define this web control for a long time, it is difficult to understand than HTML controls, after all, HTML is too similar to the original Dongdong. The web control is really a lot of access to us, I don't know if you don't remember the words I have said, that is, the program of Asp.net is like a window written in VBVC, first these windows Join our needs of our needs and then operate these controls. If you have learned a little VBVC programming, then understand this is not difficult, the web control in the ASP.NET is like the controls in VBVC. Let's put these controls in the page, then control them through Page_Load and some other custom events. We still take a look at it by watching an example. Let's give a simple Label control. The source code is as follows:

<% @ Page language = "c #"%>

<% @ Import namespace = "system.data"%>