Populating checkedListBox using c# windows application
<p>I want to populate the checkedListBox control with file names from a directory which i can do now using the following code.</p>

<pre><code>System.IO.DirectoryInfo di = new System.IO.DirectoryInfo(txtPath.Text.ToString());
System.IO.FileSystemInfo[] files = di.GetFileSystemInfos();
checkedListBox1.Items.AddRange(files);
</code></pre>

<p>But when the checkbox is selected, i want to get the path of file name. How can i do this ?</p>
