title: Load Path from Textbox to Listview
body: <p>First of all, i have tried to search around for a long time for this, but without success..</p>
  
  <p>I have a Textbox with a saved path (databinding), and a ListView. When i click on a item in my DataGridView the path in the Textbox changed to that one i saved, ofcourse. But nothing appears in my ListView. I can only see files from the choosen directory, if i browse it everytime, with my button with FolderBrowserDialog.</p>
  
  <p>Can the ListView load the directory, from the path in my textbox automatically, when i select another item in the DataGridView?</p>
  
  <p>My english isnt the best, but i hope you understand.</p>
  
  <p>This is the code i have for browsing my path and get it to the TextBox</p>
  
  <pre><code>        private void btnBrowsePath_Click(object sender, EventArgs e)
      {
          listFiles.Clear();
          metroListView2.Items.Clear();
          using (FolderBrowserDialog fbd = new FolderBrowserDialog() { Description = "Please select your path." })
          {
              if (fbd.ShowDialog() == DialogResult.OK)
              {
                  txtEpisodesPath.Text = fbd.SelectedPath;
                  foreach(string item in Directory.GetFiles(fbd.SelectedPath))
                  {
                      imageList1.Images.Add(System.Drawing.Icon.ExtractAssociatedIcon(item));
                      FileInfo fi = new FileInfo(item);
                      listFiles.Add(fi.FullName);
                      metroListView2.Items.Add(fi.Name, imageList1.Images.Count - 1);
                  }
              }
          }
      }
  </code></pre>
  
  <p>But i don't think i can edit something in this, to fix the problem, but have to add some extra code, to fix my reqeust. But i don't have any idea to fix it.</p>
  
  <p>UPDATED:</p>
  
  <pre><code>private void txtEpisodesPath_TextChanged(object sender, EventArgs e)
      {
          listFiles.Clear();
          metroListView2.Items.Clear();
          foreach (string item in Directory.GetFiles(fbd.SelectedPath))
          {
              imageList1.Images.Add(System.Drawing.Icon.ExtractAssociatedIcon(item));
              FileInfo fi = new FileInfo(item);
              listFiles.Add(fi.FullName);
              metroListView2.Items.Add(fi.Name, imageList1.Images.Count - 1);
          }
      }
  </code></pre>
  
  <p>I have edited my code to this, but it makes error with the "fbd"</p>