A
anthonykallay
Hi All,
I have been asked to uild an ASP.Net 2.0 CMS in c# for a client that
will display their products, not a problem for the majority! The main
stumbling lock i have run into is that each product has a range of
product codes that have different attributes associated with them, eg:
PRODUCT 1
Product Code Diameter Pack Size
pc1-1 12mm 100
pc1-2 14mm 200
pc1-3 100mm 300
PRODUCT 2
Product Code Width Height Depth
pc2-1 12m 10 12
pc2-2 140m 20 13
pc2-3 100m 30 30
as you can see each product code has any numer of associated
properties, for this reason i cannot just build a full table and
display the data as i normally would. My main method of thinking is to
build a database table that only has three columns ProductCode,
Property, Value
Is this a good idea, can i then display these values suitably grouped
in a table using ASP.Net??
Am i totally on the right/wrong track??, any advice or links to
related articles greatly appreciated as this isnt a problem i have
faced before.. But i am a quick learner
Many thanks in advance
Anthony
I have been asked to uild an ASP.Net 2.0 CMS in c# for a client that
will display their products, not a problem for the majority! The main
stumbling lock i have run into is that each product has a range of
product codes that have different attributes associated with them, eg:
PRODUCT 1
Product Code Diameter Pack Size
pc1-1 12mm 100
pc1-2 14mm 200
pc1-3 100mm 300
PRODUCT 2
Product Code Width Height Depth
pc2-1 12m 10 12
pc2-2 140m 20 13
pc2-3 100m 30 30
as you can see each product code has any numer of associated
properties, for this reason i cannot just build a full table and
display the data as i normally would. My main method of thinking is to
build a database table that only has three columns ProductCode,
Property, Value
Is this a good idea, can i then display these values suitably grouped
in a table using ASP.Net??
Am i totally on the right/wrong track??, any advice or links to
related articles greatly appreciated as this isnt a problem i have
faced before.. But i am a quick learner
Many thanks in advance
Anthony