?? addsubscription.aspx
字號:
<%@ Page Language="c#" codebehind="AddSubscription.aspx.cs" autoeventwireup="false" Inherits="ASPNET.StarterKit.Communities.Admin.EditServiceSubscriptions.AddSubscription" %>
<%@ Register TagPrefix="User" TagName="AdminHeader" Src="~/Admin/Controls/AdminHeader.ascx" %>
<%@ import Namespace="ASPNET.StarterKit.Communities.Admin" %>
<user:AdminHeader Title="Add Service" Runat="server" id="AdminHeader1" />
<h3>Add New Service Subscription</h3>
<div class="pageDescription" style="WIDTH:800px">
On this page you can add a new subscription to a remote community section.
<br>
<br>
The URL is the address of the remote section. For example, to retrieve content from
a remote community section located at http://www.someSite.com/Events/Default.aspx,
you would enter the URL http://www.someSite.com/Events/Service.asmx.
</div>
<asp:Label id="lblError" Visible="False" ForeColor="Red" Runat="Server">A Web service with the same name already exists.</asp:Label>
<form runat="Server">
<table>
<TR>
<td>
Service Name:
</td>
<td>
<asp:TextBox id="txtServiceName" Runat="Server" />
<asp:RequiredFieldValidator ControlToValidate="txtServiceName" Text="(required)" Runat="server" id="RequiredFieldValidator1" />
</td>
</TR>
</TR>
<TR>
<td>
Service URL:
</td>
<td>
<asp:TextBox id="txtServiceUrl" Columns="50" Runat="Server" Text="http://" />
<asp:RequiredFieldValidator ControlToValidate="txtServiceUrl" Text="(required)" Display="Dynamic" Runat="server" id="RequiredFieldValidator2" />
<asp:RegularExpressionValidator ControlToValidate="txtServiceUrl" Text="(URL must end with .asmx)" Runat="Server" ValidationExpression=".+\.asmx"/>
</td>
</TR>
</TR>
<TR>
<td>
Password:
</td>
<td>
<asp:TextBox id="txtPassword" Runat="Server" />
</td>
</TR>
<tr>
<td colspan="2">
<asp:Button id="btnAdd" Text="Add Service" Runat="Server" />
</td>
</tr>
</table>
</form>
<table cellpadding="3" cellspacing="0" border="0" class="body">
<tr>
<td><a href="Default.aspx">Return to Edit Services</a></td>
<td>|</td>
<td><a href="..\Default.aspx">Return to Admin</a></td>
<td>|</td>
<td><a href="..\..\Default.aspx">Return to Site</a></td>
</tr>
</table>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -