Server Error in '/' Application.

Compilation 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: BC30456: 'ImageUrl' is not a member of 'Image'.

Source Error:


Line 157:        Do While rNews.Read()
Line 158:            Dim imgChannel As New Image()
Line 159:            imgChannel.ImageUrl = "http://davidbandler.com/images/news/channels/icon/" & rNews.Item("channelImage")
Line 160:            imgChannel.Width = 32
Line 161:            imgChannel.Height = 32

Source File: G:\PleskVhosts\new.davidbandler.com\davidbandler\news.aspx.vb    Line: 159






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0