In this article I will explain how to open and start a web page (.aspx page ) from a Window application in C#.Step 1: Initially create new window based project.Execute Visual Studio then go to "File" -> "New" -> "Project..." then select "Windows" -> "Windows Forms application".Step 2: Design your form: drag a button onto your form.Step 3: Add this namespace to the top your application code.Step 4: Write this code for the button Click event; here you can provide the web page URL.Step 5: Then run you application and click on the button and see the output.Output
This is my web page.
.Net developer at MNC India.Experience in Asp.Net,Window Application c# ,SQL Server.
C# Corner. All contents are copyright of their authors.