Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

error when addind a DataGridViewCheckBoxCell to data grid view

$
0
0
Hi all
I have a data grid view witch is populated with DataGridViewTextBoxColumns. when i add the DataGridViewCheckBoxCell as shown here:DataGridViewCheckBoxCell c = new DataGridViewCheckBoxCell();
                    RunTimeCreatedDataGridView.Rows[row].Cells[column] = c; im getting an system.formatExeption:the formatted value of the cell is of the incorrect type. What should i do?


Viewing all articles
Browse latest Browse all 8156

Trending Articles



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