html小知识

字符文本中字符太多

一、正确: <a href='ShowFile.aspx?ID=<%# DataBinder.Eval(Container.DataItem, "ID") %>'>查看文件</a>

二、错误: <a href="ShowFile.aspx?ID=<%# DataBinder.Eval(Container.DataItem, 'ID') %>">查看文件</a>

原文地址:https://www.cnblogs.com/xm_cpppp/p/2394358.html