Get a collection of all available page names at run time

Discussion in 'ASP .Net' started by Feng, Jul 27, 2003.

  1. Feng

    Feng Guest

    I need to get page names of all my available ASP.Net pages
    in my ASP.Net project at run time. How do I do that?

    Thanks
     
    Feng, Jul 27, 2003
    #1
    1. Advertising

  2. Check out the System.IO.DirectoryInfo or System.IO.FileInfo objects...they
    let you browse directories, etc. Just read all *.aspx files in your app's
    folder....

    --
    Craig Deelsnyder
    Microsoft MVP - ASP/ASP.NET


    "Feng" <> wrote in message
    news:017401c3547a$75b1b670$...
    > I need to get page names of all my available ASP.Net pages
    > in my ASP.Net project at run time. How do I do that?
    >
    > Thanks
     
    Craig Deelsnyder, Jul 28, 2003
    #2
    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. Natty Gur
    Replies:
    0
    Views:
    2,584
    Natty Gur
    Jun 6, 2004
  2. =?Utf-8?B?WWlkYWtpQGhvdG1haWwuY29t?=

    How to Get a collection of page-names from your current project

    =?Utf-8?B?WWlkYWtpQGhvdG1haWwuY29t?=, Oct 7, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    344
    William F. Robertson, Jr.
    Oct 7, 2004
  3. Øyvind Isaksen
    Replies:
    1
    Views:
    983
    Øyvind Isaksen
    May 18, 2007
  4. Pierre Yves
    Replies:
    2
    Views:
    490
    Pierre Yves
    Jan 10, 2008
  5. r
    Replies:
    4
    Views:
    2,752
Loading...

Share This Page