Create a table source from a DataTable. Every time the table is updated using JaxcentTable.SetTableContent, the data will be collected from this DataTable and sent to the table. The table rows will grow/shrink to match the rows in DataTable. The DataTable can contain properly formed HTML to be inserted into table cells, or it can contain text strings (characters such as < or > etc will be escaped for text strings.)

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 TableDataSource(
	DataTable data,
	bool isHtml
)
Public Sub New ( _
	data As DataTable, _
	isHtml As Boolean _
)
public:
TableDataSource(
	DataTable^ data, 
	bool isHtml
)

Parameters

data
DataTable
The DataTable object that is the source of the data
isHtml
Boolean
Whether the DataTable contains HTML. False if it contains Text.

See Also