【发布时间】:2013-03-04 17:34:11
【问题描述】:
我有一个 .ascx 文件,使用它可以毫无问题地加载
<uc1:EL ID="EL1" BusinessID="8" runat="server" />
其中 BusinessID 是公共属性。
Public Property BusinessID As Integer
Set(ByVal value As Integer)
_BusinessID = value
End Set
Get
Return _BusinessID
End Get
End Property
我可能需要多次将此 ascx 文件加载到具有不同 BusinessID 变量值的占位符中。
等效的 LoadControl 方法是什么?
【问题讨论】: