hi,
how to assign a array as datasource to datagridview in vb.net.
my code is
Dim intarray(mblndigital_inputs) As Integer
mblndigital_inputs.Copyto(intarray, 0)
Array.Reverse(intarray)
i want to assign intarray to datagridview control.
and another one is suppose is there 40 values in that array
then 16 values are displayed in single row
another 16 values are goes to next row
else are goes to next row
each value is in seperate cell
for example array values are 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19, 20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36 ,37,38,39,40
first row contains 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
second row contains 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
third row contains 40 39 38 37 36 35 34 33