1: 2: 3: 4: 5: 6: 7:
<% If Request.QueryString("brand") = "" Then %> <a class="nav" href="<%# Request.Url %>&brand=<%# Eval("id") %>"><asp:Label ID="Label1" runat="server" Text='<%# Eval("brandName") %>' /></a> <% ElseIf Request.QueryString("brand") = Eval("id") Then%> <a class="nav" href="<%# Request.Url %>"><asp:Label ID="Label3" runat="server" Text='<%# Eval("brandName") %>' /></a> <% Else: %> <a class="nav" href="<%# Request.Url %>"><asp:Label ID="Label2" runat="server" Text='<%# Eval("brandName") %>' /></a> <% End If%>