I have a detailsview control on my page. The purpose of this control (for now) is to perform inserts on a table.
However, I want to run a function against one of the elements before the submit happens.
IE - I have a field for password.. I want to hash that password using a public function called passwordHash(string pwdToHash).
so > Input password > click insert > run passwordHash() > save to database
How do I do that?