我们可以在编辑模式下禁用表格的行编辑吗? [英] Can we disable table's row editing in edit mode?
本文介绍了我们可以在编辑模式下禁用表格的行编辑吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
I have one table in SQL Server Database due to some reasons i don't want user to edit rows of table in edit mode
Is that possible to do?
我尝试过的事情:
我尝试使用Tools>选项> SQL Server对象资源管理器>编辑顶部< n> rows命令设置为1,但是这样它将允许编辑那条记录甚至允许我编辑模式添加新记录。
这不是更可取的办法。还有其他更好的方法吗?
What I have tried:
I have tried with Tools > options > SQL Server Object Explorer > Edit Top <n> rows Command to set with 1, But in this way it will have allow to edit that one record and even allow to add new records i edit mode.
That's not preferable way. Is there any other preferable way?
推荐答案
Got my answer from MSDN forum.
If anybody need for it
<a href="https://social.msdn.microsoft.com/Forums/sqlserver/en-US/cbc05300-923e-4796-ba29-44bac7c7b374/can-we-disable-tables-row-editing-in-edit-mode?forum=sqlsecurity">Can we disable table's row editing in edit mode?</a>[<a href="https://social.msdn.microsoft.com/Forums/sqlserver/en-US/cbc05300-923e-4796-ba29-44bac7c7b374/can-we-disable-tables-row-editing-in-edit-mode?forum=sqlsecurity" target="_blank" title="New Window">^</a>]
这篇关于我们可以在编辑模式下禁用表格的行编辑吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文