how to email data directly from my FormView.

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: May 2008
Posts: 34
Reputation: ricksvoid is an unknown quantity at this point 
Solved Threads: 0
ricksvoid ricksvoid is offline Offline
Light Poster

how to email data directly from my FormView.

 
0
  #1
Jul 13th, 2009
Hi there,

Im working on an application that allows me have sales leads inserted directly into a sql table which can then be easily managed with a datagrid master/details model. This can be viewed at www.rickpace79.com/scum2.aspx

My next step is to add a droplist containing the e-mail values of our five sales men. I would like my manager to be able to view these sales leads and assign them individually to his sales man of choice.

I know how to use asp.net in order to send form info to an email. This is all quite simple. My problem is being able to submit the data on my formView controll through email.

any suggestions????
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 2,621
Reputation: adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of 
Solved Threads: 470
Moderator
adatapost's Avatar
adatapost adatapost is offline Offline
Posting Maven

Re: how to email data directly from my FormView.

 
0
  #2
Jul 14th, 2009
ricksvoid,
Use classes of System.Net.Mail namespace.
Failure is not fatal, but failure to change might be. - John Wooden
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 34
Reputation: ricksvoid is an unknown quantity at this point 
Solved Threads: 0
ricksvoid ricksvoid is offline Offline
Light Poster

Re: how to email data directly from my FormView.

 
0
  #3
Jul 14th, 2009
Originally Posted by adatapost View Post
ricksvoid,
Use classes of System.Net.Mail namespace.
Thanks for taking time out to reply to my question but im already familiar withe the System.net.mail namespace. Let me rephrase my question.

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.

  1.  
  2. objMail.send="ricksvoid@yahoo.com"
  3. objMail.body=bodyTxt.text
  4. 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??
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 76
Reputation: kameswari is an unknown quantity at this point 
Solved Threads: 15
kameswari kameswari is offline Offline
Junior Poster in Training

Re: how to email data directly from my FormView.

 
0
  #4
Jul 15th, 2009
Hi,
I have some doubts on your question.
u want to send a mail from the details view-> by clicking on the email id?? right??
Canyou please suggest me .. what are the main things we need to cosider in designing a website.
Mainly for asp.net professionals -> what we need to use to develop a website in a look and feel manner. I know only back end coding..

THANKS,
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC