Blog author:
Jvprabhusanthi | Posted on: 5/3/2012 | Category:
C# Blogs | Views: 854 | Status:
[Member] |
Points: 75
|
Alert Moderator
Method to check whether the file is exist or not,C#if(System.IO.File.Exists(@"d:\mytest.xml")){ //True statements comes here}This code check whether a file named "mytest.xml" exist in the D:\ drive or not.Cheers,Venkatesan Prabu .J Cheers,
Venkatesan Prabu .J
Head, KaaShiv InfoTech
http://kaashivinfotech.com/Ebooks.aspx
Found interesting? Add this to: