Loads a collection implementing interface System.Collections.IEnumerable as a data source.

Introduced: X14.

LoadDataFromModel(System.Collections.IEnumerable)

public Web.MVC.TextControl LoadDataFromModel(System.Collections.IEnumerable model);
Public Function LoadDataFromModel(model As System.Collections.IEnumerable) As Web.MVC.TextControl

LoadDataFromModel(System.Collections.IEnumerable, System.IFormatProvider)

public Web.MVC.TextControl LoadDataFromModel(System.Collections.IEnumerable model, System.IFormatProvider numberAndDateTimeFormat);
Public Function LoadDataFromModel(model As System.Collections.IEnumerable, numberAndDateTimeFormat As System.IFormatProvider) As Web.MVC.TextControl

Parameters

Parameter Description
model Specifies a System.Collections.IEnumerable that contains the merge data.
numberAndDateTimeFormat The format which should be applied when converting date / time values and numerical values to strings.

Return Value

A reference to the Web.MVC.TextControl instance to allow method chaining.

Further Reading

Learn more about the TXTextControl.Web.MVC.TextControl.LoadDataFromModel Method in the Text Control Blog: