Encrypting data that is bound to a textbox

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a C# Winform for maintaining application users and passwords. This data is stored on SQL Server and I use a Dataset and SQLDataAdapter to bind the data to controls on this form. On the controls is a textbox for entering passwords

I have code to encrypt decrypt the password but where can I do the conversion - is there an appropriate event I can use to modify the data before it is written back to the database
 
Dave said:
I have a C# Winform for maintaining application users and passwords. This data is stored on SQL Server and I use a Dataset and SQLDataAdapter to bind the data to controls on this form. On the controls is a textbox for entering passwords.

I have code to encrypt decrypt the password but where can I do the conversion - is there an appropriate event I can use to modify the data before it is written back to the database.
Add a handler that supports Parse and Format into the binding collection
of the text box...

/steveA
 
Back
Top