Click here to Skip to main content
15,893,381 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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?
Posted

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!
 
Share this answer
 
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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900