Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Asp.Net Programming

~ refer to which directory


I see a src= ~/BLahBlah/foo.ascx. I wonder which directory ~ refers to?
It's the virtual path of the application directory

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
https://www.microsoft.com/MSPress/books/10933.aspx
OWC Black Book www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley

<gouqizi.lv@gmail.com> wrote in message

news:1180573212.186612.90910@u30g2000hsc.googlegroups.com...

<gouqizi.lv@gmail.com> wrote in message

news:1180573212.186612.90910@u30g2000hsc.googlegroups.com...

>I see a src= ~/BLahBlah/foo.ascx. I wonder which directory ~ refers to?

The root directory of the application.  So BlahBlah would be a subdirectory
in the root.

Mike

-----------------------------------------------Reply-----------------------------------------------

It refers to the web root of your web application.
Here's more info:
http://authors.aspalliance.com/remas/ASP.NET/GreatFeatures/Tilde/

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net

<gouqizi.lv@gmail.com> wrote in message

news:1180573212.186612.90910@u30g2000hsc.googlegroups.com...

Sorry, I think my answer was wrong.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
https://www.microsoft.com/MSPress/books/10933.aspx
OWC Black Book www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley

"Alvin Bruney [MVP]" <some guy without an email address> wrote in message
news:%23RBUKlyoHHA.5052@TK2MSFTNGP04.phx.gbl...

~ is always the application root dir

<gouqizi.lv@gmail.com> wrote in message

news:1180573212.186612.90910@u30g2000hsc.googlegroups.com...

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc