-
March 5th, 2009, 11:35 AM
#1
[RESOLVED] difference between 'home.aspx' and '~/home.aspx'
propably a very basic question. But sometimes Visual studio's autocompletion insert 'home.aspx' and other times '~/home.aspx'.
What is de big difference when using ~ or not?
-
March 7th, 2009, 09:33 AM
#2
Re: difference between 'home.aspx' and '~/home.aspx'
~ force asp.net too look at only root directroy to find home.aspx but if ommiting it asp.net will look at other locations (sub folders) when home.aspx was not found in the root directory.
~ save the time of asp.net in the situation that there is no need to look at other folders except ROOT.
Please rate my post if it was helpful for you. Java, C#, C++, PHP, ASP.NET
SQL Server, MySQL
DirectX
MATH Touraj Ebrahimi
[toraj_e] [at] [yahoo] [dot] [com]
-
March 7th, 2009, 10:09 AM
#3
Re: difference between 'home.aspx' and '~/home.aspx'
~ We use this sign to look in the root directory...
-
March 9th, 2009, 03:09 AM
#4
Re: difference between 'home.aspx' and '~/home.aspx'
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|