Программирование в IIS



Пример 2.1


<%@ Page language="c#" Codebehind="requestSomething.aspx.cs" AutoEventWireup="false" Inherits="SimpleWF.requestSomething" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > <HTML> <HEAD> <title>requestSomething</title> <meta name="GENERATOR" Content="Microsoft Visual Studio 7.0"> <meta name="CODE_LANGUAGE" Content="C#"> <meta name="vs_defaultClientScript" content="JavaScript"> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"> </HEAD> <body MS_POSITIONING="GridLayout"> <form id="requestSomething" method="post" runat="server"> <asp:TextBox id="txtYourself" style= "Z-INDEX: 101; LEFT: 193px; POSITION: absolute; TOP: 46px" runat="server" Width="330px" Height="25px"> </asp:TextBox> <asp:Label id="Label1" style= "Z-INDEX: 102; LEFT: 26px; POSITION: absolute; TOP: 41px" runat="server" Width="155px" Height="43px"> Tell me about yourself and click submit: </asp:Label> <asp:TextBox id="txtResponse" style= "Z-INDEX: 103; LEFT: 57px; POSITION: absolute; TOP: 148px" runat="server" Width="435px" Height="101px" ReadOnly="True" TextMode="MultiLine"> </asp:TextBox> <asp:Button id="Button1" style= "Z-INDEX: 104; LEFT: 298px; POSITION: absolute; TOP: 79px" runat="server" Width="131px" Height="43px" Text="Submit"> </asp:Button> <asp:Label id="Label2" style= "Z-INDEX: 105; LEFT: 66px; POSITION: absolute; TOP: 116px" runat="server" Width="138px" Height="27px">You Said: </asp:Label> </form> </body> </HTML>

Листинг 2.1. HTML View for requestSomething.aspx

Закрыть окно






Содержание  Назад  Вперед