Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
juicyapple
Posting Yak Master
176 Posts |
Posted - 2008-02-18 : 04:41:55
|
Hi, I want to validate the file is whether exist and this file is located in the project (together with web.config), the path seems incorrect, please help..If File.Exists("~\system.config") Then...End |
|
juicyapple
Posting Yak Master
176 Posts |
Posted - 2008-02-18 : 04:57:42
|
I just find the solutionif file.exists(Server.MapPath("..\system.config")) Then...End If |
|
|
juicyapple
Posting Yak Master
176 Posts |
Posted - 2008-02-18 : 22:43:27
|
server.mappath cannot be used in console application??? |
|
|
|
|
|