R
Randy Rubin
What I am trying to do is Change the color of a row from a value that is in
a Database using the ItemStyle-BackColor Property. The value in the DB is
the color name. I keep getting a number of errors:
BC30676: 'DataBinding' is not an event of
'System.Web.UI.WebControls.BoundColumn'
Or
Literal content ('<asp:BoundColumn DataField="UID" HeaderText="UID"
ItemStyle-Font-Size="8" ReadOnly="true"
ItemStyle-BackColor=system.drawing.color.fromname(BomView.FieldValue("EngAdd
", Container)) Visible="False"/>') is not allowed within a
'System.Web.UI.WebControls.DataGridColumnCollection'.
So is there an easy way to do this?
Randy
a Database using the ItemStyle-BackColor Property. The value in the DB is
the color name. I keep getting a number of errors:
BC30676: 'DataBinding' is not an event of
'System.Web.UI.WebControls.BoundColumn'
Or
Literal content ('<asp:BoundColumn DataField="UID" HeaderText="UID"
ItemStyle-Font-Size="8" ReadOnly="true"
ItemStyle-BackColor=system.drawing.color.fromname(BomView.FieldValue("EngAdd
", Container)) Visible="False"/>') is not allowed within a
'System.Web.UI.WebControls.DataGridColumnCollection'.
So is there an easy way to do this?
Randy