joined:Nov 24, 2005
lblactive is a label on the page and I have this code on the code behind page -->
Dim dv As DataView = New DataView(cmsData)
dgItems.DataSource = dv
lblactive.text = Utils.CheckForNull_Text(dv.Item("ACTIVE"), "")
but I get the error --->
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30451: Name 'lblactive' is not declared.
Line 62: dgItems.DataBind()
Line 64: lblactive.text = Utils.CheckForNull_Text(dv.Item("ACTIVE"), "")
Line 65: cmsData.Clear()
Any idea what I need to change? Seems like I have something wrong on line 64.