Insert a formatted-HTML column before the specified index in the data-source. Typical usage is to insert a column of check-boxes, links like "select", "apply", "delete" etc, or buttons. The htmlFormatString can contain formatting specifications like {0}, {1} etc, as well as the marker {index}. {index} will be replaced by the row-index in the table itself, 0 through N-1 (number of header rows, if any, is added.) {0}, {1} etc are string.Format specifiers, and correspond to the data in the first column, second column, etc.

Namespace: Jaxcent.Web.Html
Assembly: Jaxcent (in Jaxcent.dll) Version: 2.3.1.0 (2.3.1.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public void InsertFormattedColumn(
	int index,
	string htmlFormatString
)
Public Sub InsertFormattedColumn ( _
	index As Integer, _
	htmlFormatString As String _
)
public:
void InsertFormattedColumn(
	int index, 
	String^ htmlFormatString
)

Parameters

index
Int32
Column index in DataSet or 2-D array, before which to insert column. Use -1 for inserting at end.
htmlFormatString
String

See Also