Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: How to get the exact page name from URL

Reply
Thread Tools

Re: How to get the exact page name from URL

 
 
Scott Allen
Guest
Posts: n/a
 
      04-24-2004
There are a couple ways to pull this off, one being:

string s = System.IO.Path.GetFileName(Request.Path);


HTH,

--
Scott
http://www.OdeToCode.com

On Tue, 6 Apr 2004 17:29:30 +0530, "Ashu Sharma"
<(E-Mail Removed)> wrote:

>Hi ..
>is there any inbuilt function present in ASP.NET which can help me in
>extracting page name from the url string..!!
>
>Please help
>Ashu
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I check the exact URL within an XMLHTTPRequest? Gabriella Javascript 2 10-12-2007 01:40 PM
Get the exact URL host name =?Utf-8?B?U3RlcGhhbmU=?= ASP .Net 1 09-19-2006 08:07 PM
hide servlet name / page name from url asianet Javascript 1 09-27-2005 01:20 PM
how to get the data of the exact row in Repeater wweric ASP .Net 1 11-09-2003 07:41 PM
Re: Urgent! how to get object name, method name and attribute name based on the strings? ding feng C++ 2 06-25-2003 01:18 PM



Advertisments