我有一个 aspx 页面,我需要在其中检查并在page_load
. 错误信息如下:
<div class="errorMessage">The user ID or password you entered does not match our records. Please try again. <br />
You may also securely recover your <a href="#">User ID</a> or reset your <a href="#">Password</a> online.
</div>
在检查某些条件后,应将此代码块添加到页面中......并且该部分和其他一些功能在代码隐藏功能中实现page_load()
我如何只使用page_load()
函数中的代码而不将其内联在 aspx 文件中来执行此操作?