Sir,
I have some difficulty in merging two string array in my project.
The scenario is :-
I am loading multiple image from database as byte image. Thus image loaded into the picturBox correctly.
Then I want to manipulate new images with images from database using openfileDialog.
I kept seperate string array for loading from database and from uploading.
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]


Bineesh ViswanathRank #1,681 · 907 reputationPosted Jul 18, 2017, 11:45 PM EDT
Sujeet SumanRank #790 · 2.9K reputationPosted Jul 19, 2017, 12:34 AM EDT
Bineesh ViswanathRank #1,681 · 907 reputationPosted Jul 19, 2017, 1:13 AM EDT
string[] files;
files = new string[PsprtfolderImagePathFromDb.Length + ofd.FileNames.Length];
PsprtfolderImagePathFromDb.CopyTo(files, 0);
ofd.FileNames.CopyTo(files, PsprtfolderImagePathFromDb.Length);
This is how my result looks like:-Sujeet SumanRank #790 · 2.9K reputationPosted Jul 19, 2017, 1:51 AM EDT