I am new to the asp.net, and sorry for grammar mistakes.
I have 3 fields in my table, name
, age
and created_date
. I used the grid view to display all the fields on a web form. Later, I added a command
column and then converted it to a template field.
I need to disable the edit button based on created_date
; i.e if created_date + 5 > sysdate
then I need to disable the edit button.
How can I do this?