Hello, I am using the following GridView control. What I would like to do
is for each row, test to see if the DataField="Product" value = "Total". If
so, make the text for each bound field bold. Looking through the
documentation, I am assuming that I would use the event (RowCreated). My
question is, how would I reference the datafield in a function?
Thanks, in advance, sck10
<asp:GridView ID="gvWebDocList" Runat="server" DataSourceID="dsWebDocList"
AutoGenerateColumns="False" AllowPaging="True" PageSize="40">
<Columns>
<asp:BoundField DataField="Product" HeaderText="Product" />
<asp:BoundField DataField="ProductCount" HeaderText="Total" />
</Columns>
</asp:GridView>