M
Maester Seymour
Guest
My datarepeater control is bound to a datatable
The datatable has several columns (name,address,contact,status)
I dragged the name, address and contact into the datarepeater control.
I also dragged an OvalShape named OvalShape1 and the set the FillColor to Blue. I adjusted the shape so that it will look like small blue circle.
the status column in the datatable can only have two values which is "Active" and "Inactive"
what I want to achieve is that the ovalshape become gray if the underlying data of the datarepeateritem has "Inactive" value in the status column.
I want to change the color of the ovalshape inside each of the datarepeateritems based on the value of the datarow column in which it is bound to.
How can I achieve this? or is it possible to do?
Thanks and GodBless
Continue reading...
The datatable has several columns (name,address,contact,status)
I dragged the name, address and contact into the datarepeater control.
I also dragged an OvalShape named OvalShape1 and the set the FillColor to Blue. I adjusted the shape so that it will look like small blue circle.
the status column in the datatable can only have two values which is "Active" and "Inactive"
what I want to achieve is that the ovalshape become gray if the underlying data of the datarepeateritem has "Inactive" value in the status column.
I want to change the color of the ovalshape inside each of the datarepeateritems based on the value of the datarow column in which it is bound to.
How can I achieve this? or is it possible to do?
Thanks and GodBless
Continue reading...