Re: How to get the exact page name from URL

Discussion in 'ASP .Net' started by Scott Allen, Apr 24, 2004.

  1. Scott Allen

    Scott Allen Guest

    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"
    <> 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
    >
     
    Scott Allen, Apr 24, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. wweric
    Replies:
    1
    Views:
    339
  2. Guest
    Replies:
    11
    Views:
    3,160
    Peter Seaman
    Dec 19, 2003
  3. ding feng
    Replies:
    2
    Views:
    2,820
    ding feng
    Jun 25, 2003
  4. =?Utf-8?B?U3RlcGhhbmU=?=

    Get the exact URL host name

    =?Utf-8?B?U3RlcGhhbmU=?=, Sep 19, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    469
    Juan T. Llibre
    Sep 19, 2006
  5. Gabriella
    Replies:
    2
    Views:
    103
    Thomas 'PointedEars' Lahn
    Oct 12, 2007
Loading...

Share This Page