Find parent or parents directories of a file
<p>I have a file say xyz.doc .I want to find the parent /Parents of this file ,so that i can bind it in a tree view . How can we achive this ?</p>

<p>I have the fileinfo class which is obtained by  the code </p>

<pre><code>FileInfo[] files = Directory.GetFiles(path,"*.*);
</code></pre>
