title: Delete SubFolders in c#
body: <p>I am creating an upload page for my sample program in ASP.NET. Now I am uploading student documents <code>certificates,marksheets</code> in my local storage and I am saving that file in specific directory.<code>D:\Vinayak\Student\Profiledocs\610\myfile.txt</code> Upload was worked successfully.</p>
  
  <p>Now I am delete a specific student profile documents in my local storage using my ASP.NET page.</p>
  
  <p><code>D:\Vinayak\Student\Profiledocs\610\myfile.txt</code> is my file storage directory.</p>
  
  <p>Now how I am to delete this sub folder and files <code>\610\myfile.txt</code>.</p>
  
  <p><code>610</code> is a column value named by <code>studentid</code> in my <code>student details</code>
  table.</p>
  
  <p>If I am select any student id like <code>610 or 12</code> whatever it is.</p>
  
  <p>The student files are saved in my parent folder <code>Profiledocs</code>.
  like this </p>
  
  <pre><code>\Profiledocs\610\myfile.txt
  \Profiledocs\121\myfile1.txt
  \Profiledocs\321\myfile2.txt
  </code></pre>
  
  <p>Now what I am make to delete the sub folders and files in my parent folder <code>Profiledocs</code></p>