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
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Former memberPosted May 4, 2012, 3:19 AM
<p>If you like <strong><a title="juicy couture jewellery" href="http://www.juicyjewelrys.com">juicy couture jewellery</a></strong>,you can consider the <a title="juicy couture earrings" href="http://www.juicyjewelrys.com/juicy-couture-earrings-c-4.html">juicy couture earrings</a><a title="vivienne westwood earrings" href="http://www.viviennewestwoodjewel.com/vivienne-westwood-earrings-c-9.html"></a>, <a title="juicy couture necklaces" href="http://www.juicyjewelrys.com/juicy-couture-necklaces-c-2.html">juicy couture necklaces</a> and <a title="juicy couture bracelets" href="http://www.juicyjewelrys.com/juicy-couture-bracelets-c-3.html">juicy couture bracelets</a>. Juicy couture accessories also includes <a title="juicy couture handbags" href="http://www.juicyjewelrys.com/juicy-couture-handbags-c-5.html">juicy couture handbags</a>, wallets, belts, sunglasses and so on <a title="Juicy Couture charms" href="http://www.juicyjewelrys.com/juicy-couture-charms-c-1.html" target="_blank">Juicy Couture charms</a> products.</p>