hi,
how to assign a array as datasource to datagridview in vb.net.
my problem is
iam having an array with 60 values
For intVALUE_INDEX = 0 To (muiiobufCEMCON(intCEMCON).DIGITAL_INPUTS - 1
Dim intarray(mblnDIGITAL_INPUTS.Length) As Integer
Array.Copy(mblnDIGITAL_INPUTS, intarray, mblnDIGITAL_INPUTS.Length)
here in intarray iam having values
for displaying these values iam using a datagridview
here my requirement is iam displaying 16 values in each row
so i want to add 16 columns
here 60 values are there
so 60/16
4 rows
16 values -------- in 3 rows
another 12 values are ----------- in 4 th row
so how to dynamically creating rows and columns
so how it is possible
please any one give me reply
its very urgent
4 days iam wasting my time with this.but no solution
iam new to .net.please any one help me with code in vb.net.it is windows application