如何从ASP表单获取数据?

时间:2016-06-23 05:32:33

标签: asp.net forms textbox return-value change-password

我想从当前密码和新密码中调用ID。 我怎么能在asp.net中调用它们? 因为它和html不一样。 有人可以分享给我吗?

<p>
<asp:Label ID="CurrentPasswordLabel" runat="server" AssociatedControlID="CurrentPassword">Old Password:</asp:Label>
<asp:TextBox ID="CurrentPassword" runat="server" CssClass="passwordEntry" TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="CurrentPasswordRequired" runat="server" ControlToValidate="CurrentPassword" CssClass="failureNotification" ErrorMessage="Old Password is required." ToolTip="Password is required." ValidationGroup="ChangeUserPasswordValidationGroup">*</asp:RequiredFieldValidator>
</p>

如何拨打 currentpassword ID?

0 个答案:

没有答案