I am working on a program that users can log in to and see any leads they got for the day. There is one column of the gridview that needs to stand out. The possible values are Yes or No. I got the color and bold to change using this:
<asp:BoundField DataField="SelectBroker" HeaderText="Select Broker" SortExpression="SelectBroker" ItemStyle-ForeColor="Red" ItemStyle-Font-Bold="true"/>
Now they are wanting this red and bold only when the value is Yes and normal text when it is No. I inherited the site and am muddling through his old code. I am not able to re-create it into a ListView. Is there a way to do this?
I am not posting all the code because I don’t know what you would like to see and I don’t want to load tons of unnecessary code. Let me know if you need to see any additional code. Thank in advance!
1 Answer