0

Hi I am a beginner programmer and I would like to know how I can create a new page(.aspx) usong a button.

So What I am actually asking is:

I want to have a page that you can enter your information in. eg name
Then if you press submit it wll automatically create a new page called [name].aspx this must then be added to a folder called new in the website.

Can someone please help / assist me with this matter

Thanks

2
Contributors
5
Replies
6
Views
7 Years
Discussion Span
Last Post by mornej
0

Hi what can I then do because I want to let the website automatically create a page

0

Hi I program in visual basic can you please convert this file or give me a place where I can thanks:

public void ProcessRequest (HttpContext context) {
        // Comment out these lines first:
        // context.Response.ContentType = "text/plain";
        // context.Response.Write("Hello World");

        context.Response.ContentType = "image/png";
        context.Response.WriteFile("~/Flower1.png");
    }

    public bool IsReusable {
        get {
            return false;
        }
    }
}

Edited by __avd: Added [code] tags. For easy readability, always wrap programming code within posts in [code] (code blocks).

0

Hi thanks I got a code converter thanks for your help

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.