I need to select the folder by using the OpenFiledialog option .I tried something in my below code.But i cant able to select the folder using that Code. please help me to solve this issue.
- ofd = new System.Windows.Forms.OpenFileDialog();  
-   
-             ofd.Filter = "Folders|\n";  
-             ofd.AddExtension = false;  
-             ofd.CheckFileExists = false;  
-             ofd.DereferenceLinks = true;  
-             ofd.Multiselect = false;  
-             ofd.ShowDialog();  
Please help me to solve this.
 
Thanks Regards,
Dinesh