add combo box to datagrid view
Loading
add combo box to datagrid view
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajanikant HawaldarPosted Mar 17, 2026, 11:46 AM
Hi, Check below links
https://www.c-sharpcorner.com/UploadFile/9f4ff8/add-combobox-and-checkbox-into-the-datagrdiview-in-C-Sharp/
https://www.c-sharpcorner.com/blogs/steps-to-add-combobox-inside-datagridview-window-form
Raghunath BhukanPosted Mar 17, 2026, 6:03 AM
Hi Jay,
Please check the different ways listed below to add combobox in datagridview.
In WPF, adding a ComboBox inside a
DataGridis very common—and the clean way to do it is with aDataGridComboBoxColumn.Let’s walk through it clearly
1. Basic ComboBox inside DataGrid
XAML
2. Provide ComboBox items
You need a list for the dropdown.
Option A: Static list in XAML
3. Data model (C#)
4. Bind data to DataGrid
5. Dynamic ComboBox per row (important)
If each row has its own dropdown list:
6. Advanced (more control with template)
If you want full control (styling, events), use
DataGridTemplateColumn:Key Concepts:
SelectedItemBinding? binds selected value to your dataItemsSource? dropdown listDataGridComboBoxColumn? quick & simpleDataGridTemplateColumn? flexible & powerful