none
C# datagridview and Combobox columns

    Question

  • I have a datagridview bound to a dataset. I also have two columns set as comboboxes. I would like the choice in the first combobox to fill the second with a different set of data. But i need to do this for each row in the grid.

    Example:

    If I choose "ECP" in first column, I want the list in the next combobox to show a set of records to choose from

    If I choose "CAL" in first column then I want a different set of data from the same recordset.

    I cannot seem to figure out how to do this. Any help would be appreciated.

    Saturday, March 17, 2007 12:50 AM

Answers

All replies