|
form1.ascx (user-defined control)
public class head
public aa as string
end public
form2.aspx
<mycontrols: header id = "ctrlHeader" Runat = "Server"> </ mycontrols: header>
form2.aspx.vb
ctrlHeader.aa = "" Description: Reference the AA variable in FORM1.ascx
The ctrlHeader variable appears undeclared.
What's wrong with it? Seems to refer to imports in form2.aspx.vb, please elaborate |
|