DetailsView - send email

S

Seth Williams

I have a DetailsView, with a checkbox (from a Bit field in the database) - -
the bit field is 'Authorized'
What I'm trying to figure out (I'm running the Select and Update through a
SQL DataSource) I can, when the checkbox becomes checked, and therefore
updates the database, I need to send an email telling them they're
authorized to use the site now. (not using built in security controls)

I know how to send an email, but I don't know how to 'get' the value of the
changed textbox, so I can then send the email.
 
S

Seth Williams

It's a thought, but I didn't want to make a second call to the db, after
updating it.
Besides, I am trying, at this point, to learn how to use FindControl with
the detailsview - - I've got this, but apparently, it's not recognizing the
checkbox:
Dim ChkAuth As CheckBox = CType(dv1.Rows(0).FindControl("Authorized"),
CheckBox)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,836
Latest member
login dogas

Latest Threads

Top