LocalizeDataGrid creates localized Headers for a DataGrid

Namespace: DotNetNuke.Services.Localization
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static void LocalizeDataGrid(
	ref DataGrid grid,
	string resourceFile
)
Visual Basic
Public Shared Sub LocalizeDataGrid ( 
	ByRef grid As DataGrid,
	resourceFile As String
)

Parameters

grid
Type: System.Web.UI.WebControls..::..DataGrid%
Grid to localize
resourceFile
Type: System..::..String
The root name of the Resource File where the localized text can be found

See Also