Only the selected row's text appears on the DataGridView. I've tried adding the rows via a DataTable and the setting the data source and just adding the rows directly to the gridview.
dgvCudaMiner_Failover.Rows.Add(object.property1.ToString(), object.property2, object.property3, object.property4, true, object.property5.ToString());
Any ideas on what's going on? I tried changing all the columns to text columns to see if that would work, but it didn't.
Converting my comment to answer as requested.
I suspect, cell's foreground color was set to the same color as background. The text is actually there, but you can't see it until background color changed to blue (which happen when a row selected)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.