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.
I am Dot Net Developer and Working on Microsoft Technology Asp.Net,C#,SSIS,SSRS,Window Application,SQL server 2008,2012.
C# Corner. All contents are copyright of their authors.