|
When binding data, it is executed in a loop. Assigning a value to session["LoginName"] in the loop is certainly not what you need. Prevent the command event and assign the loginName value of the current line to the session after clicking.
--------------
No, the command event does not respond to click events |
|