Data Binding in the .NET Compact Framework

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

All classes that inherit from the Control class support simple data property binding. Additionally, the classes that inherit from ListControl, such as ListBox and ComboBox, can bind to objects (such as ArrayList) that expose IList or IListSource. For more information about data binding in the .NET Framework, see Windows Forms Data Binding.

The .NET Compact Framework supports data binding to a strongly typed DataSet, and you can also bind to a DataSet with schema that is read from an XML Schema definition language (XSD) file. 

Data binding cannot automatically convert between different types, such as between a Color and String or between a null Byte and a String. This does not prevent you from data binding such values, but you have to provide event handlers to parse and format the data appropriately.

Note

You cannot use casting in data binding.

See Also

Other Resources

Windows Forms Controls in the .NET Compact Framework