G
Guest
Using VB.net in the Page_Load Sub I'm trying to create a dynamic Navigation
control
nothing fancy, nothing tricky.
I dim some variables (below)
Dim tb As Table
Dim row As TableRow
Dim cell As TableCell
Dim img As Image
Dim lnk As HyperLink
All is well except I get a blue line under Image ( indicating something is
wrong) and when I compile the error is
'Image' is ambiguous, imported from the namespaces or types
'System.Web.UI.WebControls, System.Drawing'.
found some posting on google when searching for +"ambiguous" +"net" +"image"
that looked promicing but all were in another language
control
nothing fancy, nothing tricky.
I dim some variables (below)
Dim tb As Table
Dim row As TableRow
Dim cell As TableCell
Dim img As Image
Dim lnk As HyperLink
All is well except I get a blue line under Image ( indicating something is
wrong) and when I compile the error is
'Image' is ambiguous, imported from the namespaces or types
'System.Web.UI.WebControls, System.Drawing'.
found some posting on google when searching for +"ambiguous" +"net" +"image"
that looked promicing but all were in another language