sammySeltzer
asked on
Do you know how I can insert date in gridview after checkbox is checked?
Greetings mates,
We have checkbox in gridview where a user can check one or more boxes.
What we would like to do is to show current date for any and all checkbox(es) checked.
Can someone please help with inserting dates into gridview after a checkbox is checked or checkboxes are checked?
Here is what I have:
Thanks a lot in advance.
We have checkbox in gridview where a user can check one or more boxes.
What we would like to do is to show current date for any and all checkbox(es) checked.
Can someone please help with inserting dates into gridview after a checkbox is checked or checkboxes are checked?
Here is what I have:
For Each c As GridViewRow In gridView1.Rows
If CType(c.Cells(0).FindControl("myrec"), CheckBox).Checked Then
'******Need to insert today's date here whenever a checkbox is checked*****
End If
Next
Thanks a lot in advance.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Sorry for late response on this but I have since resolved it.
ASKER
What is important is that I want this date inserted only AFTER a checkbox is checked.
In other words, if no checkboxes are checked, the date column should be blank.
Hope this is clearer.
Thanks