Announcement

Collapse
No announcement yet.

Insert function return into text

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Insert function return into text

    If I have a string of text on an aspx page, what's the best way if I want to insert text returned by a VB.NET function within it?

    For example:
    HTML Code:
    "The top student this " & getPeriod() & " is " & getTopStudent() & "."
    Will display:
    "The top student this semester is Billy."
    Where getPeriod() and getTopStudent() are VB.NET functions in the code behind.
Working...
X