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 的动态数据框架中?
我将它用于实体数据上下文。
是否可以?
请参阅我的文章通过 ReadOnlyAttribute 将字段设置为只读 - 动态数据应该可以满足您的需求。