Avatar of NursingCorp
NursingCorp
Flag 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

ASPASP.NETVisual Basic.NET

Avatar of undefined
Last Comment
NursingCorp

8/22/2022 - Mon
philipjonathan

Use FooterStyle?
SOLUTION
lakshmidurga

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
GreymanMSC

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
NursingCorp

ASKER
I had to pull from both.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23