Link to home
Create AccountLog in
Avatar of NursingCorp
NursingCorpFlag for United States of America

asked on

asp:Bound Column format question

How can I assign a CSS class to the last row of data in asp:BoundColumns? Please see the attached code snippet. I would like to have the last row of data to be bold.

<Columns>
<asp:BoundColumn ItemStyle-Width="100" HeaderText="Date Worked" DataField="StartDate">
<HeaderStyle CssClass="InvoiceHead"></HeaderStyle>
<ItemStyle CssClass="InvoiceItems"></ItemStyle>
</asp:BoundColumn>
 
<asp:BoundColumn ItemStyle-Width="150" HeaderText="Employee Name" ReadOnly="true" DataField="EmpName">
<HeaderStyle CssClass="InvoiceHead"></HeaderStyle>
<ItemStyle CssClass="InvoiceItems"></ItemStyle>
</asp:BoundColumn>

Open in new window

Avatar of philipjonathan
philipjonathan
Flag of New Zealand image

Use FooterStyle?
SOLUTION
Avatar of lakshmidurga
lakshmidurga

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
ASKER CERTIFIED SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of NursingCorp

ASKER

I had to pull from both.