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 8th, 2009, 02:37 AM
Authorized User
 
Join Date: Sep 2009
Posts: 24
Thanks: 3
Thanked 0 Times in 0 Posts
Default Mutiple Images for Product in webshop

hi
I want to show multiple images of a product with diffrent views,
how can i upload them in database and server image folder,
right now i am doing for one image file as in wrox webshop
please give me suggestion.
thanx
 
Old October 10th, 2009, 03:50 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Rather than create a single ImageUrl property on a product, you could create a separate table like ProductImages that contain the image URLs and product ID. On a separate page in the Management section you can manage these images similar to how you now manage products. Then you can create an ImageCollection on the Product class that gets the associated images for a specific product and display them...

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 12th, 2009, 05:24 PM
Friend of Wrox
 
Join Date: Sep 2009
Posts: 165
Thanks: 5
Thanked 6 Times in 6 Posts
Arrow updating items in webshop

Hello ashwiniraj,
I did post a reply to your question about emailing but I think u didn't watch it .
OK,can you please tell me that are editing items and inserting new items in admin account in webshop working fine for C# code? Did you put extra stuff to the code or just converted code from VB.Net to C#.
thanx..............
 
Old October 14th, 2009, 06:42 PM
Friend of Wrox
 
Join Date: Sep 2009
Posts: 165
Thanks: 5
Thanked 6 Times in 6 Posts
Arrow updating total amount...

Hi Ashwini,
First of all sorry, I've been out of city for the last day.
OK try AutoEventWireup property set to "true" in page directive in markup view for that page.
Hope this will help u, and please tell me that if it works or not.
OK, can u please do me a favour. I'm having problem in updating the quantity. As soon as I click EDIT button , the quantity becomes to zero. And also in management part items are not being inserted. So if u can send me that particular files I'll be very thankful to you..........
I'll send my email Id only when u r ready.





Similar Threads
Thread Thread Starter Forum Replies Last Post
mutiple email merge to outlook jofoxy2000 Access 0 March 31st, 2008 05:12 PM
Mutiple <select..> with XML problem ousys .NET Framework 2.0 0 November 11th, 2007 03:37 AM
Change image to product name zulf BOOK: Professional SQL Server 2005 Reporting Services ISBN: 0-7645-8497-9 0 June 14th, 2007 12:55 AM
HTML Mutiple thillaiarasu HTML Code Clinic 1 May 22nd, 2007 06:17 PM
List Mutiple Columns? Vendlus Reporting Services 0 April 28th, 2006 07:51 AM





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