I have this line of Code in code behind :
string _htmlbody = @"<html>
<head></head>
<body>
<p>Thanks Mr: ............ For joing our system</p>
</body>
</html>
And I have another variable that has user full name (userFullName), How can I embeded the user full name in html tags?
What's the format that should I use in my Silverlight project?
Update
I tried below format but does not work :
Any help?
When you concatenate your string, you need to add a verbatim string modifier ( @
) to the second string literal so that it is also recognized as a multi-line string.
<p>Thanks Mr: " + ttt + @" For joining</p>
...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.