Hi,
The following code works fine in asp.net using vb.net but it gives the following error when the project is in c#. Do you know why?
Thanks
<SelectedItemTemplate>
&nbsp;»
<asp:HyperLink id=HyperLink2 runat="server" CssClass="DepartmentSelected" text='<%# DataBinder.Eval(Container.DataItem, "Name") %>' NavigateUrl='<%# "../default.aspx?DepartmentID=" &amp; DataBinder.Eval(Container.DataItem,"DepartmentID") &amp;"&amp;DepartmentIndex=" &amp; Container.ItemIndex %>'>
</asp:HyperLink>
</SelectedItemTemplate>


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