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 4.0 (C#) 构建网页,例如,我希望为管理员角色显示一些控件。并为普通用户消失。
我建议使用(Multiview)标准控件!
问题是:这种方法完美吗?还是有很多更好的方法可以应用?
除非在 asp.net 4.0 中引入了一些新的方法,否则这是正确的方法,这正是 MultiView 控件的设计目的。