I have been trying to get this to work for a couple of days now.  I want to allow a user to update some of the columns of a database table.  If the user is logged in, his email address is the same as his username.  For example, JohnSmith@university.edu   This value is stored in a column of the same table so I want to match it to the logged in user's ID to pull up the right record for updating.  I placed a label on the page that I'll hide once I'm done debugging.  I will also select the record by filtering on two bit columns named HistoryBit and PendingBit.
I have been testing and debugging this code for so long that it's probably a bigger mess than when I started. There is aline in the code behind that's generating a null exception error.  But even if I comment it out, I don't retrieve a record )just a blank web page with my label showing my login.  I do have a test record in th ...

Go to the complete details ...