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);

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

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

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.