Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Raghunath BhukanRank #744 · 3.1K reputationPosted Mar 17, 2026, 2:03 AM EDT
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 & powerfulRajanikant HawaldarRank #110 · 20.2K reputationPosted Mar 17, 2026, 7:46 AM EDT
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