string[] files= file from upload
PsprtfolderImagePathFromDb=files from database
The array string from database and string array from uploading coming with same array index. It thus throw exception.
Kindly help me to set the array index like these:-
Files[0]
Files[1]
PsprtfolderImagePathFromDb[2]
PsprtfolderImagePathFromDb[3]