Ken H

Ken H

  • NA
  • 646
  • 355.2k

How to will value added to the corresponding in column in dataGridView

Aug 19 2012 10:27 AM
hi,

   Datagridview have 50 column(these columns name is 1 to 50), need to database cycle out of the value stored in the corresponding column(Table there are 4 column stored value is also digital )
demoNUM table Data as follows:
SELECT * FROM demoNUM;
result:
   r_1  r_2  r_3  r_4 
   1      2      4     50
   1      2     3     5
   2     3      5     50

Below is the effect of imitation:
datagridview columns name:  1     2    3    4  5 .....50
rows:                                        1      2          4          50
                                                 1      2    3        5      
                                                         2     3       5      50

 thanks

Answers (9)