winformsDatabinding


Parameters

ArgumentDescription
propertyNameThe name of the control property to bind.
dataSourceAn Object representing the data source.
dataMemberThe property or list to bind to.
formattingEnabledDetermines, whether the displayed data should be formatted.
updateModeData source is updated when the control property is validated (default), or immediately when the property has changed
nullValueWhen the data source has this value, the bound property is set to DBNull.
formatStringOne or more format specifier characters that indicate how a value is to be displayed
formatInfoAn implementation of IFormatProvider to override default formatting behavior.

Remarks

See https://msdn.microsoft.com/en-us/library/ef2xyb33.aspx Databinding only works with properties, never with fields!