Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 19th, 2009, 03:56 PM
Friend of Wrox
 
Join Date: Oct 2009
Posts: 341
Thanks: 14
Thanked 3 Times in 3 Posts
Smile

Sir, As I just said earlier that I downloaded code from forum, that downloaded code was equipped with bonus content. That's why I said about ConfirmationMessage.txt file in my previous post. Now the only doubt is that will this email functionality send email to both(admin and user) or to user only.
The problem that I am getting with email implementation is another thing...
 
Old October 19th, 2009, 04:10 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Not sure why you're asking this when you have the bonus content. Isn't that super clear from that document?

Code:
 
Helpers.SendConfirmationMessage(ShoppingCart, orderId, Membership.GetUser().Email)
As you can see, mail is only sent to GetUser() which represents the currently logged on user (e.g. the customer).

The document itself also only speaks about the client, not an admin.

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old October 19th, 2009, 04:25 PM
Friend of Wrox
 
Join Date: Oct 2009
Posts: 341
Thanks: 14
Thanked 3 Times in 3 Posts
Smile

Thank you for making thing clear. Ok now my doubt is clear. But now just one thing that I want to know is that how I can send email to admin itself the same message (i.e. the order information and the shipping address ).
Your help this time is really needed sir...

Last edited by sophia; October 19th, 2009 at 04:29 PM..
 
Old October 19th, 2009, 04:32 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

How about using the Send method twice to send two different messages to different users?

http://www.systemnetmail.com/ has plenty examples....

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
sophia (October 19th, 2009)
 
Old October 19th, 2009, 04:44 PM
Friend of Wrox
 
Join Date: Oct 2009
Posts: 341
Thanks: 14
Thanked 3 Times in 3 Posts
Smile

Thank you sir, well I thought the same before I came to this forum but it didn't work. Ok now I'll try with more effort and try not to bother u again for it.
One more thing sir, not taking your much time can u please give some idea about the FormView. That is how I can edit existing items in management section of shop. It deals with only inserting items. And I am able to add categories at run time and edit them but it deals with grid view and dropdown list.

Once again thank you a lot......
 
Old October 19th, 2009, 05:07 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You may want to consider getting a copy of my book Beginning ASP.NET 3.5: http://www.wrox.com/WileyCDA/WroxTit...47018759X.html

Topics like inserting and updating using a FormView or DetailsView and sending mail are discussed in full in that book.

You're not "bothering" me with your posts. However, I can't (or actually don't want to) teach you how to program over a web form. That's what books, studying and search engines are for. There's not much point in writing a book and then repeating everything I wrote in forum posts here at p2p.wrox.com. I (and everybody else on this forum) can help you solve problems and figure things out, but we can't teach you how to program all the way.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old October 19th, 2009, 05:16 PM
Friend of Wrox
 
Join Date: Oct 2009
Posts: 341
Thanks: 14
Thanked 3 Times in 3 Posts
Smile

Thank you again, but sir for the time right now I need just a brief overview not programming about formview (edit item template), so that may start working immediately..........
And Thank you to encourage me........
So kind of you are......
 
Old October 20th, 2009, 09:58 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

In that case, this might help:

http://www.google.com/search?hl=en&s...w&aq=f&oq=&aqi=

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 8, shop Beowulf BOOK: PHP and MySQL: Create-Modify-Reuse ISBN: 978-0-470-19242-9 3 September 30th, 2010 03:59 PM
Web Shop TB1962 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 3 January 26th, 2009 05:24 AM
atlas and web shop gtjr92 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 October 21st, 2006 03:38 AM
Building an E-Shop Varg_88 Beginning PHP 0 March 15th, 2006 05:25 AM
WroxUnited Shop datae33 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 March 4th, 2006 06:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.