Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to show a message at a label and want to highlight certain words with a font color change.
how to do this?? please help me...
Posted
Comments
Siva Hyderabad 4-Apr-14 2:33am    
what have you tried so far ?
Member 10276220 4-Apr-14 2:39am    
this is my code:
lblMsg.Text = "You must select at least 30 suppliers/members<span style='color: red;'> as must meet<span>, up to 4 suppliers/members for back to back meeting, and up to 6 member/suppliers you do not want to meet.";
but it takes from the begining,....but i want it only for certain words

1 solution

 
Share this answer
 
Comments
Member 10276220 4-Apr-14 2:40am    
thanx Er. Puneet Goel....but i need c# code

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900