在頁面生命周期的一些位置中
Sub FCLoginView_ViewChanged(ByVal sender As Object DisplayProfileProperties() End Sub
這將調用如下的方法
Private Sub DisplayProfileProperties() Dim NameBox As TextBox = CType(FCLoginView If Not (NameBox Is Nothing) Then CType(FCLoginView CType(FCLoginView CType(FCLoginView CType(FCLoginView CType(FCLoginView CType(FCLoginView CType(FCLoginView CType(FCLoginView CType(FCLoginView CType(FCLoginView End If End Sub
根據這個工作原理部分前面使用的代碼
Dim NameBox As TextBox = CType(FCLoginView
If Not (NameBox Is Nothing) Then
因此
在繼續之前考慮的最後一件事情是
<table border= <tr> <td> Name:</td> <td> <asp:TextBox ID= <asp:RequiredFieldValidator ID= Text= </td> </tr> <tr>
[
From:http://tw.wingwit.com/Article/program/net/201311/15699.html