+ 2

Hi Guys! I have a datagridview in my form with two communs (A&B) i will like to set col A values to col B and skip row one of A

A | B ...................... 0 20 20 30 30 40 40 50 50 60 60 70 ..... Col A take automatically the previous row value of Col B. But in case of first row it set 0 since no value exit before row 1 of Col B. Thank in advance.

5th Nov 2018, 4:54 AM
ABDOUL RAHIM NDANE PECHOU
ABDOUL RAHIM NDANE PECHOU - avatar
1 Réponse
0
I am not sure. I understand what you are asking. Is it ok to just hide col A ? this.dataGridView1.Columns["CustomerID"].Visible = false;
5th Nov 2018, 8:29 PM
sneeze
sneeze - avatar