Daniel

Daniel

  • NA
  • 66
  • 0

Using a combobox to refresh form data

May 30 2007 9:16 AM
I have a combobox on a form. I have a datatable that the form controls (textboxes, checkboxes) are bound to. The combobox will need to change/refresh the data based on the selection. So when a user selects another item in the combobox, the appropriate row data from the datatable is displayed. I have a private method called databind() that is called in form_load that binds the data to the controls on the form. I assume that when the cbo_SelectedIndexChanged event first, i want to walk through my datatable and find the right row, then rebind. I am not sure how to pull that off. Thanks in advance for any help.

Answers (1)