作者在 2006-06-15 23:09:00 发布以下内容
我们先来看page.aspx的代码:
<!--源文件:form\web页面简介\page.aspx-->
<%@ Register TagPrefix="Acme" TagName="Login" Src="page.ascx" %>
<html>
<title>登录演示</title>
<script language="VB" runat="server">
Sub Page_Load(Sender As Object, E As EventArgs)
If (Page.IsPostBack)
MyLabel.Text &= "用户名:" & MyLogin.UserId & "<br>"
MyLabel.Text &= "密码: " & MyLogin.Password & "<br>"
End If
End Sub
</script>
<body style="font: 10pt verdana">