在asp.net中创建自己的控件
问题描述:
你好朋友,
我想创建自己的控件,如标签或文本框等,可以直接将其拖放到窗体上.谁能告诉我如何控制.最后,当我部署它时,它应该是.dll格式,以便可以通过右键单击工具箱并选择项目将其导入到他的项目中.
在此先感谢您.
hello friends,
I want to create my own control like label or textbox etc. which can be drag and drop on the form directly. Can anyone please tell me how can I make control. Finally when I will deploy it, it should be in .dll form so one can import it in his project by right clicking on toolbox and choose item.
Thanks in advance.
答
关于创建用户控件的文章和指南很多,请在Google上搜索以查找大量资源.
这是一篇这样的文章;
http://www.15seconds.com/issue/020319.htm [
There are many article and guides on creating user controls, search google to find an abundance of resources.
Here is one such article;
http://www.15seconds.com/issue/020319.htm[^]