Link to home
Start Free TrialLog in
Avatar of Larry Brister
Larry BristerFlag for United States of America

asked on

.Net determine if file actually exists

I have a sub routing that pulls data out of SQL Server table

One of the rows returned is a file path to an image in the web sites sub folder .../customerimages/

How do I determine if the file actually exists
If it does set the ,net image path

If it does not
Show a default image?
ASKER CERTIFIED SOLUTION
Avatar of Pawan Kumar
Pawan Kumar
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Larry Brister

ASKER

Perfect
Thanks