Could not show files even though uploaded :
check that the folder is an application root in IIS !!
When changes not talking effect be sure to press the refresh button on the browser AND press F5 !!!
Database Connection Strings
cs = string.Format(cs, Server.MapPath("\_database\ASPNETDB.mdb"));
The server.mappath function returns a full physical path e:webdevttcom001htdocsetc to the database with the relative path provided
For ASPdatasource control, the path will be :
DataFile="/_database/ASPNetDB.mdb"
Another way is :
string d = System.Web.HttpContext.Current.Server.MapPath("/_database/ASPnetDB.mdb");
The location of the page that calls the path is irrelevant, since we are pathing from the root /
Subscribe to:
Post Comments (Atom)
About Me
Blog Archive
-
▼
2008
(11)
-
▼
May
(11)
- mgmt studio is AIO tool SSMS - ent manager + query...
- Could not show files even though uploaded :check t...
- jobs.joelonsoftware.com
- Gmail - RE: OSS alternatives to MS Office Sharepoi...
- Gmail - [ttcs] Digest Number 2531 - anand.narine@g...
- The Official Microsoft ASP.NET Site
- easy
- Microsoft Content Management Server: Home
- BACK IN ORDER !UML passpaper question 2008Case - l...
- Editorial The average DBA...
- testing
-
▼
May
(11)
No comments:
Post a Comment