菲
菲菲123
Unregistered / Unconfirmed
GUEST, unregistred user!
我在运行<asp:HyperLink id="HyperLink1"
runat="server"
NavigateUrl='<%# "../default.aspx?DepartmentID=&"+ Request.QueryString["DepartmentID"]+ "&DepartmentIndex="
+ Request.QueryString["DepartmentIndex"] + "&CategoryID="
+ DataBinder.Eval(Container.DataItem, "categoryID" + "&CategoryIndex="
&+ Container.ItemIndex %>' Text='<%# DataBinder.Eval(Container.DataItem, "Name" %>' CssClass="CategoryUnselected">HyperLink</asp:HyperLink>代码时出现:
运算符“&”无法应用于“string”和“int”类型的操作数
哪位高手帮忙解决一下 谢谢
runat="server"
NavigateUrl='<%# "../default.aspx?DepartmentID=&"+ Request.QueryString["DepartmentID"]+ "&DepartmentIndex="
+ Request.QueryString["DepartmentIndex"] + "&CategoryID="
+ DataBinder.Eval(Container.DataItem, "categoryID" + "&CategoryIndex="
&+ Container.ItemIndex %>' Text='<%# DataBinder.Eval(Container.DataItem, "Name" %>' CssClass="CategoryUnselected">HyperLink</asp:HyperLink>代码时出现:
运算符“&”无法应用于“string”和“int”类型的操作数
哪位高手帮忙解决一下 谢谢