943,910 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 1014
  • ASP.NET RSS
Jul 13th, 2009
0

how to email data directly from my FormView.

Expand Post »
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????
Similar Threads
Reputation Points: 9
Solved Threads: 0
Light Poster
ricksvoid is offline Offline
39 posts
since May 2008
Jul 14th, 2009
0

Re: how to email data directly from my FormView.

ricksvoid,
Use classes of System.Net.Mail namespace.
Moderator
Reputation Points: 2136
Solved Threads: 1228
Posting Genius
adatapost is offline Offline
6,527 posts
since Oct 2008
Jul 14th, 2009
0

Re: how to email data directly from my FormView.

Click to Expand / Collapse  Quote originally posted by adatapost ...
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.

vb.net Syntax (Toggle Plain Text)
  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??
Reputation Points: 9
Solved Threads: 0
Light Poster
ricksvoid is offline Offline
39 posts
since May 2008
Jul 15th, 2009
0

Re: how to email data directly from my FormView.

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,
Reputation Points: 13
Solved Threads: 16
Junior Poster in Training
kameswari is offline Offline
76 posts
since Sep 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Send sms from asp.net C#
Next Thread in ASP.NET Forum Timeline: How to refresh main page in popup screen





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC