lawrencxze
New member
- Joined
- Dec 8, 2020
- Messages
- 1
- Programming Experience
- 1-3
0
I have a system where the user can edit the value of dates in the datagrid by using the datetimepicker. Now, my problem is how can I limit the editing if the rows he/she want to edit does not meet the conditions in my if else. For example, this is my table:
Then if the actual date in line no 1 is '3001-01-01' and the user try to update the line no 2-7 by clicking the update button, the system should not allowed it. How can I do that?
Thanks for the help!
I have a system where the user can edit the value of dates in the datagrid by using the datetimepicker. Now, my problem is how can I limit the editing if the rows he/she want to edit does not meet the conditions in my if else. For example, this is my table:
Then if the actual date in line no 1 is '3001-01-01' and the user try to update the line no 2-7 by clicking the update button, the system should not allowed it. How can I do that?
Thanks for the help!