DataGrid::CreateControlStyle Method ()
.NET Framework (current version)
Creates new control style.
Assembly: System.Web (in System.Web.dll)
The following code example demonstrates how to override the CreateControlStyle method in a custom server control so that it always displays the GridLines with no CellSpacing in the DataGrid.
.NET Framework
Available since 1.1
Available since 1.1
Show: