为用户和管理员创建登录名-reg

为用户和管理员创建登录名-reg

问题描述:

如何为主管和管理员创建登录名?
管理员有权查看,插入,更新,删除每个页面的记录.但是高管没有相同的访问权.他们中的某些人仅具有查看权限..有人告诉我使用复选框insert,update,delete进行编码..我的问题在Datagridview中.如何动态创建复选框并更新数据库.请为此建议我吗?

How to create a Login for Executive and admin?
The admin has right to view,insert, update,delete record for every single page. but the executives are not having same access right. some of them having viewing rights only.. someone told me to code with check box insert,update,delete.. my question is in Datagridview How do I Create check box dynamically and update it my database. please suggest me for this?

好.我会建议您其他出路,可能对您来说更容易.

您需要做的就是始终在datagridview中选中该复选框. (无需动态创建).现在,您只需要在执行人员为高的情况下禁用复选框,并为管理员启用它们即可.

现在,只有管理员可以编辑/更新种类的功能.
完成!
Ok. I will suggest you other way out and probably an easier one for you.

All you need is to always have checkbox in the datagridview. (No dynamic creation needed). You now just need to disable the checkboxes in case of executives and enable them for admins.

Now, only admins can edit/update kind of features.
Done!




请访问 HighOnCoding ,此处将解决您的问题.复选框的类似帖子是由作者尝试尝试自定义的方式发布的.您的问题将得到解决.
Hi,

visit HighOnCoding here your problem will be solved. Similar post of check box is being posted by the author try to customize the way. Your Problem will be solved.