Skip to content

How to change .aspx file extension

Sandeep Chaurasia

Sandeep Chaurasia

Asked Jul 28, 2014, 2:56 AM EDT1 answer
Share
LinkedInX
how to change file extension runtime .aspx to .html pls help me

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    VB.NET
    Below code for changing the extension of the file, 
    need to keep into pageload or initalize place of the code where page extension to change.
    string extensionfile = changeExtension.Replace("aspx", "html");
    0