One img at 2 different albums
Hi,
i learned the book and his great,
i made now somthing similiar to the gallery, with the where and LINQ and dropdownlists.
i have 4 ddl's for car selecet.
ddl1: choose car (table: carname)
ddl2: choose car type (table: cartype) (by car name)
ddl3: choose car year (table: caryear) (by car type)
ddl4: choose item (table:item) (by car type)
i succeed with the cascading.
i have page with the items... and i want that all the item will display at the ddl4, respectively to the cartype id.
briefly, when i insert to the system cartype - i want to attribute him an item. what says that can be "item x" at "chevrolet optra" and the same "item x" at "subaro-bla-bla"...
( i have tried to do that: the item table includ:
itemId
itemName
carTypeId1
carTypeId2
carTypeId3
carTypeId4
carTypeId5
and i made relatshionship with the cartype table... at the where i made at the ddl4 - control == cartypeid1=@cartypeid1 ddl2...
but i don't know how to do the rest cartypeid ....
hope that all is clear here :).
thanks !
Last edited by Oshrib; May 8th, 2011 at 12:46 PM..
|