title: Selecting items from a Listbox and displaying in ListView using C#, XAML
body: <p>I have 3 controls in a WPF window.. a textbox, listbox and listview.</p>
  
  <p>The textbox is like a searching textbox, where i search for Folder's in a particular folder, the list of searched folders will be displayed in listbox. I am able to do until this part.</p>
  
  <p>Now, if I select any of the displayed folders in the listbox, then the files available in the particular folder should be displayed in the ListView. (missing out the link b/w the 2 here).</p>
  
  <p>eg : I have 3 folders displayed in listbox (say folder1, folder2, folder3).each folder has few excel files. I selected folder 2 ( which has 5 excel files, mark.xls, steve.xls, cary.xls, rick.xls and jenny.xls and also a subfolder inside that called Launch1). </p>
  
  <p>Now, the List view should show the folder2 contents divided into 3 columns, ( col1, col2, col3).</p>
  
  <pre><code>Name                           Desc                                      Date
  
  --------------------------------------------------------------------------------
  
  Mark                     this is mark's excel                         07/20/2009
  
  steve                    this is steve's excel.                       07/22/2009
  
  cary                     .....................                        ..........
  
  rick                     .....................                        ..........
  
  jenny                    .....................                        ..........
  
  --------------------------------------------------------------------------------
  
  + Launch1
  </code></pre>
  
  <p>Again Launch1 folder might have few workbooks, so I have put a plus on it.. so when + is clicked.. it shuold display the files inside this folder.</p>
  
  <p>I am using Xaml and C#... please help.</p>
  
  <p>
                                          
                                              
                                                  
                                                  
                                                  
                                              
                                          
                                      </p>
  
  <p>Now, the problem I am facing is.. if I search for the files which i have to display... I am able to get the files while debugging..( using Add watch..) , but I was not able to add the data to the ListView...</p>
  
  <p>Thank You,</p>
  
  <p>Ramm </p>