Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as text by mb ( 17 years ago )
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="lab1.aspx.cs" Inherits="_lab1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Laboratory work #1</title>
    <style type="text/css">
        .style1
        {
            text-align: center;
        }
        .style2
        {
            width: 219px;
            text-align: right;
        }
        #table1
        {
            width: 66%;
        }
    </style>
</head>
<body background="images/bg_body.gif" text="#000000">
       
<div style="margin: 0px auto 15px auto; background-image: url('images/bg_top.gif'); background-repeat: inherit; border: thin solid #8B9496; width: 702px; height: 30px; vertical-align: top;">
<p style="height: 0px">&nbsp;</p>
</div>
<table border="0" width="688" align="center" style="font-family: Tahoma;">
    <tr>
        <td align="center" height="90" width="192" style="border:3px solid #FFFFFF;" bgcolor="#C5246D">
            <a href="Default.aspx" style="font-weight: bold; text-decoration: none; color: #FFFFFF">MAIN</a>
        </td>
		<td>
		    <img src="images/spacer.gif" width="4" height="1" alt="" />
		</td>
		<td align="center" height="90" style="border:3px solid #FFFFFF;" bgcolor="#448CCB">
            <asp:Label ID="Label1" runat="server" Text="LABA #1" Font-Bold="True" ForeColor="White"></asp:Label>
        </td>
		<td>
		    <img src="images/spacer.gif" width="4" height="1" alt="" />
		</td>
		<td align="center" height="90" style="border:3px solid #FFFFFF;" bgcolor="#7FBC2D">
		    <a href="#" style="font-weight: bold; text-decoration: none; color: #FFFFFF">
		    <asp:Label ID="Label2" runat="server" Text="LABA #2"></asp:Label></a>
		</td>
		<td>
		    <img src="images/spacer.gif" width="4" height="1" alt="" />
		</td>
		<td align="center" height="90" style="border:3px solid #FFFFFF;" bgcolor="#E5257C">
		    <a href="#" style="font-weight: bold; text-decoration: none; color: #FFFFFF">
		    <asp:Label ID="Label3" runat="server" Text="LABA #3"></asp:Label></a>
		</td>
		<td>
		    <img src="images/spacer.gif" width="4" height="1" alt="" />
		</td>
		<td align="center" height="90" style="border:3px solid #FFFFFF;" bgcolor="#F0AF37">
		    <a href="#" style="font-weight: bold; text-decoration: none; color: #FFFFFF">
		    <asp:Label ID="Label4" runat="server" Text="LABA #4"></asp:Label></a>
	    </td>
		<td>
		    <img src="images/spacer.gif" width="4" height="1" alt="" />
		</td>
		<td align="center" height="90" style="border:3px solid #FFFFFF;" bgcolor="#869AAE">
		    <a href="#" style="font-weight: bold; text-decoration: none; color: #FFFFFF">
		    <asp:Label ID="Label5" runat="server" Text="LABA #5"></asp:Label></a>
		</td>
    </tr>
    <tr>
        <td style="border:3px solid #FFFFFF;">
            <img src="images/pic_5_2.jpg" alt="" />
        </td>
        <td>
		    <img src="images/spacer.gif" width="4" height="1" alt="" />
		</td>
        <td style="border:3px solid #FFFFFF; font-size: 12px; font-family: Tahoma;" 
            colspan="9" bgcolor="#DED9CB" class="style1" valign="top">
            <b>
            <br />
            &ETH;‘&ETH;&frac34;&ETH;&plusmn;&Ntilde;€&ETH;&frac34; &ETH;&iquest;&ETH;&frac34;&ETH;&para;&ETH;&deg;&ETH;&raquo;&ETH;&frac34;&ETH;&sup2;&ETH;&deg;&Ntilde;‚&Ntilde;Œ!</b>
            <br />

            <br />
         <form runat="server" id="input" name="input">
            <table border="0" id="table1" cellspacing="0" cellpadding="4" align="center">
	            <tr>
		            <td class="style2" style="text-align: right">
                        <asp:Label ID="Label6" runat="server" Text="&ETH;’&ETH;&deg;&Ntilde;ˆ&ETH;&micro; &ETH;&cedil;&ETH;&frac14;&Ntilde;:"></asp:Label>
                    </td>
		            <td width="10">&nbsp;</td>
		            <td><asp:TextBox ID="txtName" runat="server" style="text-align: left" 
                            Width="166px" BackColor="#DED9CB" BorderColor="White" BorderStyle="Solid"></asp:TextBox><br />
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                            ErrorMessage="&ETH;’&ETH;&sup2;&ETH;&micro;&ETH;&acute;&ETH;&cedil;&Ntilde;‚&ETH;&micro; &ETH;&cedil;&ETH;&frac14;&Ntilde;!" ControlToValidate="txtName"></asp:RequiredFieldValidator>
                    </td>
	            </tr>
	            <tr>
		            <td class="style2">
                        <asp:Label ID="Label7" runat="server" Text="&ETH;&cent;&ETH;&micro;&ETH;&raquo;&ETH;&micro;&Ntilde;„&ETH;&frac34;&ETH;&frac12;:"></asp:Label>
                    </td>
		            <td width="10">&nbsp;</td>
		            <td><asp:TextBox ID="txtPhone" runat="server" style="text-align: left" 
                            Width="166px" BackColor="#DED9CB" BorderColor="White" BorderStyle="Solid"></asp:TextBox><br />
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                            ErrorMessage="&ETH;’&ETH;&sup2;&ETH;&micro;&ETH;&acute;&ETH;&cedil;&Ntilde;‚&ETH;&micro; &Ntilde;‚&ETH;&micro;&ETH;&raquo;&ETH;&micro;&Ntilde;„&ETH;&frac34;&ETH;&frac12;!" ControlToValidate="txtPhone"></asp:RequiredFieldValidator>
                    </td>
	            </tr>
	            <tr>
		            <td class="style2">
                        <asp:Label ID="Label8" runat="server" Text="e-mail:"></asp:Label>
                    </td>
		            <td width="10">&nbsp;</td>
		            <td>
		                <asp:TextBox ID="txtMail" runat="server" style="text-align: left" 
                            Width="166px" BackColor="#DED9CB" BorderColor="White" BorderStyle="Solid"></asp:TextBox>
                            <br /><asp:RegularExpressionValidator id="RegularExpressionValidator1" 
                            runat="server" ControlToValidate="txtMail" ErrorMessage="Not a valid Email" 
                            ValidationExpression="w+([-+.]w+)*@w+([-.]w+)*.w+([-.]w+)*"></asp:RegularExpressionValidator> 
  <asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ControlToValidate="txtMail" ErrorMessage="*"></asp:RequiredFieldValidator> 

                    </td>
	            </tr>
	            <tr>
		            <td class="style2">
                        <asp:Label ID="Label9" runat="server" Text="&ETH;&iexcl;&ETH;&frac34;&ETH;&frac34;&ETH;&plusmn;&Ntilde;‰&ETH;&micro;&ETH;&frac12;&ETH;&cedil;&ETH;&micro;:"></asp:Label>
                    </td>
		            <td width="10">&nbsp;</td>
		            <td>
		                <asp:TextBox ID="txtMessage" runat="server" Height="108px" Width="166px" 
                            BackColor="#DED9CB" BorderColor="White" BorderStyle="Solid" 
                            TextMode="MultiLine"></asp:TextBox><br />
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                            ErrorMessage="&ETH;’&ETH;&sup2;&ETH;&micro;&ETH;&acute;&ETH;&cedil;&Ntilde;‚&ETH;&micro; &Ntilde;&ETH;&frac34;&ETH;&frac34;&ETH;&plusmn;&Ntilde;‰&ETH;&micro;&ETH;&frac12;&ETH;&cedil;&ETH;&micro;!" ControlToValidate="txtMessage"></asp:RequiredFieldValidator>
                    </td>
	            </tr>
	            <tr>
	                <td>
	                    <asp:Button ID="Button1" runat="server" Text="Ok" BorderColor="White" 
                        BorderStyle="Solid" onclick="Validate_Click" 
                            style="height: 26px; text-align: right;" />
	                </td>
	                <td width="10">&nbsp;</td>
	                <td>
	                    <asp:Button ID="Button2" runat="server" Text="Cancel" BorderColor="White" 
                        BorderStyle="Solid" />
	                </td>
	            </tr>
            </table>
             </form>
            <br />
            
            
        </td>
    </tr>
</table>
   

    </body>
</html>

 

Revise this Paste

Your Name: Code Language: