954,580 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

sending a database record via email

Im using a gridview to display just the names of the customers in my database.

When i click on a name, I get all of that persons information (address, email, mortgage, ect) displayed nicely in a detailsview control on the right side of my page. I believe that this is what most people refer to as a master/details design.

What i would like to be able to do now is have the ability to email each details record to either one of my salesman via there personal email address.

Im familiar with sending a simple form via email.

objMail.send="ricksvoid@yahoo.com"
 objMail.body=bodyTxt.text
 objMail.subject=subjectTxt.text


My problem is that this doesnt seem to work when tyring to bind the objMail.body to an %eval% field which is basicly a select statenment from my database.

any suggestions??

ricksvoid
Light Poster
39 posts since May 2008
Reputation Points: 9
Solved Threads: 0
 

BTW. an example of what i have so far can be found at www.rickpace79.com/scum2.aspx

If you can think of a way to e-mail the information on the right side of the screen based on a dropmenue of several emails. Then you my friend are a .net lord.

ricksvoid
Light Poster
39 posts since May 2008
Reputation Points: 9
Solved Threads: 0
 

search on the internet how to send emails...

in web.config....mention your smtp server...

on button click grab the value of customer from formview..

hope things work out in your case....or else i can send you the code...

dnanetwork
Practically a Master Poster
Banned
633 posts since May 2008
Reputation Points: 28
Solved Threads: 106
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You