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.
如何在不编写代码的情况下跨多个网页共享相同的有序列表?以这种方式,信息只需要在一个位置更新。
您可以构建一个 ASP.NET 用户控件 (http://msdn.microsoft.com/en-us/library/y6wb1a0e.aspx),这样您就可以将列表放在那里并在您需要的每个页面上使用您的用户控件。
有了这个,您只需要在用户控件中更改您的有序列表,并且此更新将在您使用用户控件的任何地方可用。