Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果您正在使用链接到 .cs 文件的 .aspx 文件在 HTML 中显示点击计数器的好方法,该文件从 SQL 服务器获取标题而不使用外部文本文件通过读入和读出来跟踪?我真的不想使用 javascript,因为我想将它与特定的 ID 相关联。
您将需要某种持久性存储来随着时间的推移进行跟踪。所以要么是文本文件,要么将每次点击记录到数据库表中。