I'm creating a Windows Form application using C#. The form contains a ListView. It's an application for a Red Cross Dispatcher.
The ListView has a list of all units. Each unit has a status. This status needs to be changeable. Therefore I want to开发者_C百科 add a comboBox with all available statuses to each ListViewItem. The Statuses are stored in a MySql database.
How can I do this?
Here's a Microsoft sample article showing exactly how to do this: How to use a ComboBox control to edit data in a ListView control in Visual C#
You'll just have to change how it loads its data.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论