S
Stefan Siebenberg
I have a complex business object price (with poduct as property)
price.price_id
price.price_validfrom
price.price_validuntil
price.product.product_id
price.product.product_name
price.product.category.category_id
price.product.category.category_name
I want to bind this object to my gridview
gridview.datasource = myprice
gridview.databind
Now in my gridview-template I have the problem accessing the child
properties.
I can put <%# Container.DataItem.Price_ID %>,
but <%# Container.DataItem.product.product_name%> gives me an error.
What is the prober way to quickly solve this problem
Using: VB.NET with Framework 2.0
Stefan Siebenberg
price.price_id
price.price_validfrom
price.price_validuntil
price.product.product_id
price.product.product_name
price.product.category.category_id
price.product.category.category_name
I want to bind this object to my gridview
gridview.datasource = myprice
gridview.databind
Now in my gridview-template I have the problem accessing the child
properties.
I can put <%# Container.DataItem.Price_ID %>,
but <%# Container.DataItem.product.product_name%> gives me an error.
What is the prober way to quickly solve this problem
Using: VB.NET with Framework 2.0
Stefan Siebenberg