📄 textbox.aspx
字号:
<%@ Page Inherits="System.Web.UI.MobileControls.MobilePage" %>
<Script Runat="Server">
Sub Command_Click( s As Object, e As EventArgs )
lblContactName.Text = txtContactName.Text
lblContactPhone.Text = txtContactPhone.Text
ActiveForm = frmDisplayContact
End Sub
</Script>
<Mobile:Form id="frmAddContact" runat="Server">
<b>Name:</b>
<Mobile:Textbox
ID="txtContactName"
Runat="Server"/>
<br/>
<b>Phone:</b>
<Mobile:Textbox
ID="txtContactPhone"
Runat="Server"/>
<br/>
<Mobile:Command
Text="Submit!"
OnClick="Command_Click"
Runat="Server" />
</Mobile:Form>
<Mobile:Form id="frmDisplayContact" runat="Server">
<b>You Entered:</b>
<br/>
<Mobile:Label
ID="lblcontactName"
Runat="Server"/>
<br/>
<Mobile:Label
ID="lblContactPhone"
Runat="Server"/>
</Mobile:Form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -