We help IT Professionals succeed at work.

asp:Bound Column format question

NursingCorp
NursingCorp asked
on
481 Views
Last Modified: 2012-05-05
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

Comment
Watch Question

Use FooterStyle?
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
I had to pull from both.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.