Am struck up with a scenario below,

I have 50 "Subfolder" under my "MainFolder"

In my project, On selecting a "Add Applications" button am browsing to MainFolder and selecting the same.

Now all the subfolders under the MainFolder need to be populated in the DataGird View, in my Project.

I tried with few commands which i got by browsing in blog, but not successfull.

Please assist, how can i acheive this.