Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi
I want to Store multiple values of some product like small , large , medium form admin side in database using drop down but i don't know how to store this

I Have two table

1. Item_Master
Item_ID
Item_Name
Size

2. Size_Master
Size (insert Large,small,medium etc)


Now how to add in Item Form that i have 3 size like medium ,large and small type item are available
Posted
Updated 25-Feb-13 16:54pm
v2
Comments
BC @ CV 25-Feb-13 12:26pm    
Its not that clear what you want to do. If you are wanting to store what sizes are availble for a specific product you can use two tables. One for products and one to store the sizes as shown below:

Products(
ProductID,
Name
)

Sizes(
SizeID,
ProductID,
SizeCode
)
Member 9815058 25-Feb-13 22:51pm    
yes you are right
RDBurmon 25-Feb-13 12:33pm    
Please add some examples in your question.

1 solution

Sound's like you are looking for something like this: Multiselect Dropdown for Web Applications[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900