AWP Practical
AWP Practical
Practical #4
Name Shafaque khan Roll Number 22302B0049
Subject/Course: Advanced Web Development Technologies
Topic Working with web form controls
namespace WebApplication2
{
public partial class WebForm1 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
<Ad>
<ImageUrl>image/img2.png</ImageUrl>
<NavigateUrl>about.aspx</NavigateUrl>
<AlternateText>Order books</AlternateText>
<Impressions>20</Impressions>
</Ad>
<Ad>
<ImageUrl>image/img3.png</ImageUrl>
<NavigateUrl>about.aspx</NavigateUrl>
<AlternateText>Otrder books</AlternateText>
<Impressions>20</Impressions>
</Ad>
</Advertisements>
(adrotator)
<table>
<tr>
<td>Name:</td>
<td>
</td>
</td>
</tr>
<tr>
<td>City:</td>
<td>
</td>
</tr>
<tr>
<td>
<br />
<br />
<br />
</td>
</tr>
</table>
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Practical_43
Label1.Text = "Your Name is " + txtName.Text + " and you are from " + txtCity.Text;
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<div>
</div>
</body>
</html>