Practical-01
Problem Statement
Write a program to print "HELLO COMPUTER" on a web form.
Solution
To solve this problem, we can use ASP.NET and C# to create a web form and display the desired message.
- Create a new ASP.NET Web Application project in Visual Studio.
- In the Solution Explorer, right-click on the project name and select "Add New Item".
- Choose "Web Form" from the templates and name it "HelloComputer.aspx".
- Open the newly created "HelloComputer.aspx" file.
- In the HTML body section, add the following code:
<h1>HELLO COMPUTER</h1>
-
Save the file.
-
Build and run the project.
-
The web form will be displayed with the message "HELLO COMPUTER" in a heading.
This completes the solution to the problem.
Summary
In this practical, we learned how to create a web form using ASP.NET and display a message on it.