Click here to Skip to main content
15,892,298 members

Comments by The Manster (Top 3 by date)

The Manster 23-Aug-17 4:05am View    
Sorry I am back. I thought I could implement that with some changes but you see I have to loop through the rows and set cell's format to the value of a column.
For i As Integer = 0 To DataGridView1.Rows.Count
DataGridView1.Rows(i).Cells(dgvNumber.Index).??? =
DataGridView1.Rows(i).Cells(dgvDecimals.Index).Value
Next
??? means DefaultCellStyle does not work here and I don't know what to put there.
The Manster 23-Aug-17 3:22am View    
Thanks a span! The moment I read it I recognised it from previously. Forgot about it.
The Manster 23-May-17 2:03am View    
Thanks very much guys. The solutions offered definitely worked. Sorry for commenting so late.