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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -