Home change the format of string as bold in c# not accepting
Reply: 1

change the format of string as bold in c# not accepting

PoliDev
1#
PoliDev Published in 2017-09-14 08:55:20Z

I created the separate class and create variable like as follows,

public const string LOBUSERLOCKEDMESSAGE = "The Named LOB screen is locked by <b>[USER_ID]</b> and <b>[USER_NAME]</b>. Would you like to continue with Read only access?";

and my result is showing like

The Named LOB screen is locked by <b>xxx</b> and <b>yyyyy</b>. Would you like to continue with Read only access?

Why it is not getting bold if i gave correct syntax also? Kindly assist me on this

Jan Becker
2#
Jan Becker Reply to 2017-09-14 09:02:56Z

It is not possible to use HTML markup in C#. Try this https://msdn.microsoft.com/en-us/library/aa287595%28v=vs.71%29.aspx

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.307806 second(s) , Gzip On .

© 2016 Powered by cudou.com design MATCHINFO