Click or drag to resize

ExtensionsToHTMLHidden Method (Object, DataGrid)

Gives HTML code for hidden data

Namespace:  SOWIWeb.Helper
Assembly:  SOWIWeb.Helper (in SOWIWeb.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public static string ToHTMLHidden(
	this Object pData,
	DataGrid pDataGrid
)

Parameters

pData
Type: SystemObject
Value to be hidden
pDataGrid
Type: SOWIData.ManagementDataGrid
Data Grid View item

Return Value

Type: String
HTML code
<input type="hidden" name="@itemDataGrid.DataFieldName" id="@itemDataGrid.DataFieldName" value="@lValue" />
lValue converted by data type see DataGridDataTypes

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also