Click here to Skip to main content
15,892,839 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi, How to work with listview for insert update delete?
Now i'm creating user access form there I'll make check box in listview each row and column for giving access rights to executive and admin. I have a problem for insert,update,delete. Can anyone suggest me that how to finish off this?

Thanks,
Posted
Updated 10-Dec-10 19:21pm
v2

1 solution

Thank you for your question. As a suggestion you can use ListView Template column for Insert, Update & Delete button. And give command name CommandName="Insert" for Insert Button, CommandName="Update" for update button and so on. Use Item Command event of ListView. Then Trap CommandName argument in code behind.


Thanks,
Mamun
 
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