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

Add dynamic row in data grid with drop-down.

$
0
0

Hi Guys,

I am trying to add a row dynamically to datagrid, the last two columns are drop down, I am using below statement but the drop down is not getting populated.

dg.Rows.Add(new object[] {name,address,phone, office, item, price, "",dc,"","","","","","","","TBD","No"});


The last two items,

"TBD" and "No"  are suppose to be drop down in datagrid, but the dropdown is not getting populated.

Any help would be appreciated.


Viewing all articles
Browse latest Browse all 2535

Trending Articles



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