Input array is longer than the number of columns in the data table

@Nithinkrishna
Array size depends upon the Columns I’m iterating through to get the rows
Right??