Click here to Skip to main content
14,667,835 members
Rate this:
Please Sign up or sign in to vote.
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

Rate this:
Please Sign up or sign in to vote.

Solution 1

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!
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

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.
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100