Sample of simple use of datagridview with a column which is a dropdown

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lloyd Sheen

    Sample of simple use of datagridview with a column which is a dropdown

    I have been trying for last couple of hours, googling etc to find how to use
    a simple one column datagridview where the one and only column is a dropdown
    combobox.

    I have not been successful , I have tried virtual and other methods but
    nothing is working.

    I am binding a simple list(of string) to the datagrid and want first that
    the number of entries in the datagrid be the number of items in the list.
    Secondly that each dropdown will hold a list of possible entries which is
    derived at run time and lastly that the selected item be shown correctly.

    I cannot get this work.

    thanks
    Lloyd Sheen

Working...