Simple Bound Controls
Now let’s switch gears and begin looking at the controls provided by Visual Studio .NET. There are two types of bound controls: simple and complex. Simple bound controls typically bind single properties to one DataSource and DataColumn. The TextBox is an example of a simple bound control. Complex bound controls can bind to a DataSource and multiple DataColumns. In the case of a complex bound control, the DataSource is typically bound to a collection in the control, instead of a single property. An obvious example of a complex bound control is the DataGrid. The simple bound controls are the following:
TextBox
Label
LinkLabel
Button
CheckBox (CheckAlign, Tag, Text, Checked)
RadioButton (CheckAlign, Tag, Text)
PictureBox (Tag Property ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access