[求助]Protected对象怎样用?
Protected WithEvents departmentNameLabel As System.Web.UI.WebControls.LabelProtected WithEvents productsListCell As System.Web.UI.HtmlControls.HtmlTableCell
前面已做如上声明,
departmentNameLabel.Text = departmentDetails.Area
程序体中用到上面的一行
程序中显示的错误如下:
"departmentNameLabel"已声明为此class 中的“Protected Dim WithEvents departmentNameLabel As System.Web.UI.WebControls.Label"
请高人指点Prodected对象在程序中怎样用,以上用到”departmentNameLabel“对象的一行错在那里了?


