How do i data bind a checkbox?
i have a checkbox and a couple of textboxes and a datagrid view. When i click next it goes through the data in the datagrid and updates other values such as a textbox to correspond to the data in the datagrid. This isent working for a check box though.
roomNoTextBox.DataBindings.Add(new Binding("Text", bsRooms, "RoomNo"));
gymCheckBox.DataBindings.Add(new Binding("Text", bsRooms, "Gym"));