Follow the below steps to create simple web application using C# and ASP.NET
1.Open Visual Studio. Go to Files and select New Project tab as shown below.
2. You will get the below window. Now select Visual c# and then ASP.NET
Web Forms Application. You can change your web application name. I am
using the name as WebApplication2.
3.Your web project has created.Now we need to add web forms to the project.
Go to Solution explorer and follow the steps according to the below fig.
4.You will be prompt below window.You can change the name of the webform.
I am keeping the name as webform1.
5. Once the web form got created you will get the workspace for the web development. Now you can see the ASP .NET code as below.
Click on Design button as shown in above fig. You will get design mode of
web page.
6. In design mode open tool box. Then drag and drop the desired elements
(like button, text boxes,labels)from the toolbox.
7. Once you complete the design,run the application(here it is internet
explorer in above fig). Your ASP .NET web Project get created now.
Web Forms Application. You can change your web application name. I am
using the name as WebApplication2.
3.Your web project has created.Now we need to add web forms to the project.
Go to Solution explorer and follow the steps according to the below fig.
I am keeping the name as webform1.
5. Once the web form got created you will get the workspace for the web development. Now you can see the ASP .NET code as below.
Click on Design button as shown in above fig. You will get design mode of
web page.
6. In design mode open tool box. Then drag and drop the desired elements
(like button, text boxes,labels)from the toolbox.
explorer in above fig). Your ASP .NET web Project get created now.
No comments:
Post a Comment