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

DataBinding on Datagridview with datatable Help

$
0
0

Hello,

i have a problem with databinding. I have a datatable as define:

            color_table.Columns.Add("color", typeof(Color));
            for (int i = 0; i < num_x * num_y; i++)
            {
                color_table.Rows.Add(Color.Aqua);
            }

so is a datatable that contain a color that can change. I want that this is the backcolor of the cell.

How can i do?

Thanks

Daniele


ypkdani


Viewing all articles
Browse latest Browse all 2535

Trending Articles



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