This documentation is archived and is not being maintained.
FormView::CreateControlStyle Method
Visual Studio 2010
Creates a default table style object for the FormView control.
Assembly: System.Web (in System.Web.dll)
The CreateControlStyle method is a helper method called by the FormView control to create its default table style object. In addition to setting the default style of a TableStyle object, this method also sets the CellPadding property to 0.
Notes to InheritorsWhen extending the FormView class, you can override this method to create your own default style.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: