c# 4.0 - Add <span> tag inside a string -


i want wrap portion of text in <span></span> tag

for example : wan put "dataforstatsmclist.firstordefault().range1d1" in <span></span> tag after data being applied it.

  mc_summary.headers = new list<string>() { "inventory analysis",                        "prior 7 - 12 months" + environment.newline + "(" +                          dataforstatsmclist.firstordefault().range1d1 + ")"  }; 


Comments

Popular posts from this blog

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

ruby on rails - Authlogic - how to make a registration and don't log in the new account? -