
Table | 883
WebControls
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Hierarchy
System.Object ➝ System.MarshalByRefObject ➝ System.ComponentModel.Compo-
nent(System.ComponentModel.IComponent, System.IDisposable)
➝ Style(System.Web.UI.
IStateManager)
Subclasses
TableItemStyle, TableStyle
Returned By
System.Web.UI.Design.ITemplateEditingFrame.{ControlStyle, TemplateStyles}, IRepeatIn-
foUser.GetItemStyle( ), WebControl.{ControlStyle, CreateControlStyle( )}
Passed To
System.Web.UI.Design.ITemplateEditingService.CreateFrame( ), System.Web.UI.Design.
TemplateEditingService.CreateFrame( ), RepeatInfo.RenderRepeater( ), TableItemStyle.
{CopyFrom( ), MergeWith( )}, WebControl.{ApplyStyle( ), MergeStyle( )}
Table
System.Web.UI.WebControls (system.web.dll)
disposable
class
This class provides a powerful object model for creating HTML tables. It is similar to,
but more abstract than, the System.Web.UI.HtmlControls.HtmlTable class. It also allows ASP.NET
to optimize rendering for both down-level and up-level browsers. You can use it to
dynamically generate an HTML table by adding TableRow objects to the Rows collection
and adding TableCell objects to each row. Note that if you create or modify a table’s struc-
ture programmatically, these changes will not be preserved across postbacks and you
will have to reconstruct them manually; table