错误写法:
NavigateUrl='details.aspx?id=<%#Eval("TopicId") %>'
正确写法:
NavigateUrl='<%#"details.aspx?id=" + Eval("TopicId") %>'
把静态字符串写入 <% 中。