---
title: "Get selected value of DataGridViewComboBoxColumn"  
description: "Get selected value of DataGridViewComboBoxColumn"  
author: "Anonymous User"  
published: 2013-01-05  
updated: 2013-01-05  
canonical: https://www.mindstick.com/forum/525/get-selected-value-of-datagridviewcomboboxcolumn  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# Get selected value of DataGridViewComboBoxColumn

Hi \
I have used **DataGridViewComboBoxColumn**in my [datagridview](https://www.mindstick.com/articles/607/working-with-datagridview-in-vc-sharp) in [windows](https://www.mindstick.com/articles/311752/how-to-install-and-use-the-google-wifi-software-on-a-windows-or-mac-computer) [application](https://www.mindstick.com/articles/12824/calculator-application-in-android) [form](https://www.mindstick.com/forum/6/multi-form-mfc-application), but i can not get [selected value](https://www.mindstick.com/forum/12861/setting-radiobuttonlist-selected-value). I want to [insert](https://www.mindstick.com/blog/173/executing-insert-delete-or-update-query-in-sqlserver-using-ado-dot-net) selected [data](https://www.mindstick.com/articles/13050/salesforce-aiming-to-dominate-predictive-analytics-with-data-science) into [database table](https://www.mindstick.com/forum/159366/how-to-test-regular-expressions-in-sql-without-using-database-table). can you help me?\
Thanks

## Replies

### Reply by AVADHESH PATEL

Hi Pravesh Singh\
\
You can try this code\

```
private void dgvDeveloperSection_CellContentClick(object sender, DataGridViewCellEventArgs e){      string sWeek = dgvDeveloperSection.Rows[e.RowIndex].Cells[0].Value.ToString(); }
```

\
Note: .Rows[e.RowIndex].Cells[0] is the index of ComboBox Column.\
\
I hope this solve your problem


---

Original Source: https://www.mindstick.com/forum/525/get-selected-value-of-datagridviewcomboboxcolumn

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
