View Single Post
  #1 (permalink)  
Old October 7th, 2003, 05:14 AM
KJ KJ is offline
Registered User
 
Join Date: Oct 2003
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Beginning ASP.NET E-Commerce using VB.NET

I'm a C# developer trying to get to grips with ASP.Net (I know I've got the VB edition of the book but that's another story!) and I'm having trouble with the code on p90. The error I get is as follows:

Compiler Error Message: CS0019: Operator '&' cannot be applied to operands of type 'string' and 'object'

Line 4: <SelectedItemTemplate>
Line 5: &nbsp;&raquo;
Line 6: <asp:HyperLink id="HyperLink2" runat="server"
Line 7: CssClass="DepartmentSelected"
Line 8: NavigateUrl='<%# "../default.aspx?DepartmentID=" &amp;[/red]

I cant find anything in the book errata. HELP