Conditional DataGridView Formatting

后端 未结 2 356
再見小時候
再見小時候 2020-11-29 11:37

I have a DataGridView. I set its .DataSource prop to be an BindingList of my own objects: a BindingList

I then created some columns fo

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-29 11:57

    You may populate data in your DataGridView using any loop or datasource. Then for each DataGridViewRow in DataGridView1.Rows----

    Chk the ref value ypu want to chk and then set DataGridviewCell[index].style.backColor property.

提交回复
热议问题