Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
|
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics 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 November 12th, 2010, 09:30 AM
Registered User
 
Join Date: Nov 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to insert multiple items into database

I have followed the LINQ example to:

1. Create a page to add new album title to album table
2. Create a page to insert name, description and image to photo table.
3. Create a page with a listview to show name and image for each item in photo table.

Im trying to create a website to allow people to buy items of clothing. I used the LINQ example to allow me to create a page that lists images. The website should allow people to click on an indivuidal image (which takes them to a new page showing the item name and image) to then allow the user to select a size and colour.

I want to expand the photos table to include the sizes and colours available for a particular item. Therefore in step 2 above, when a new item is added to the database I want to include the colours and sizes available. Is there a way I can add multiple items to a database such as checkboxes or a multibox? Do you know of a good example to follow on the internet?





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to insert the items from DataGridView to Ms Ac Mangore VB How-To 0 October 25th, 2008 04:39 AM
INSERT Multiple rows to database at one time melkin Classic ASP Databases 19 April 11th, 2007 08:22 AM
INSERT Multiple rows to database melkin Classic ASP Professional 3 April 10th, 2007 09:03 AM
Cannot have multiple items selected in a DropDownL Ron Howerton ASP.NET 1.0 and 1.1 Basics 23 November 8th, 2006 04:29 PM
insert multiple checkbox values in to database [email protected] Pro JSP 0 March 29th, 2006 08:23 AM





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