Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

DataGridViewComboBoxCell value is not valid. in c#

$
0
0

Hi all,i m really stuck up with this problem

I am creating  c# desktop application for inventory management.

In one of the forms I want to display datagridview  with three columns.(sr.no,product_name,invoice_no)

1)sr.no is checkbox column which checks  product.

2)Product_name is column which displays name of product

3)invoice_no is COMBOBOX columns which selects one of the invoice no in which that checked product is sold.

My problem is when i select the  value for  invioce_no(combobox) in first row and after that when i move to the next row the selected value of invioce_no(combobox) in first row disappears .and throws exception DataGridViewComboBoxCell value is not valid.

plz help me in resolving this error,I really need a solution to this problem.


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>