Summary
Server controls render HTML to the page programmatically by inheriting from existing controls, such as the Control base class or the WebControls base class. Composite controls combine existing controls into neat and easy-to-manage packages that can be added to a page with a simple Register directive and one declarative tag.The topic of building your own server controls is huge, and we've only given you enough knowledge to be dangerous. If you want to pursue more detail, again I strongly suggest Developing Microsoft ASP.NET Server Controls and Components by Nikhil Kothari and Vandana Datye (Microsoft Press, 2003). Kothari wrote many of the controls in the framework and Datye wrote much of the documentation in the SDK and on MSDN.