Hi, i use vb to send email from a contact form.
I use a detailsview to show information from a database. Also in the detailsview i have a contact form, in which, (in the vb file) i want to change the email adress.
Normally it whould be smth like this:
Dim sb As New System.Text.StringBuilder
Dim mMsg As String
mTo = "info@mysite.com"
mFrom = "info@mysite.com"
mSubject = "from my contact form"
Now, the problem is that i want to bind the email adress from a database.
like: Text='<%# Bind("email") %>'>
How can i do that?