andrew4582

Format string Anchor ASP.NET

Aug 15th, 2010
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.18 KB | None | 0 0
  1. static string FormatElementA(string href,string text) {
  2.     string aformat = "<a href='{0}'>{1}</a>";
  3.     string output = string.Format(aformat, href, text);
  4.     return output;
  5. }
Advertisement
Add Comment
Please, Sign In to add comment