Syntax Question

  • Thread starter Thread starter King Coffee
  • Start date Start date
K

King Coffee

Re-submission, the first ever shown up

I see different syntaxes when using the HTML server side function tag:

Like <%= ... %>, <%# ... %>, and <%$ ... %>

What does "=", "#", and "$" denotes.
Or, where can I fine there meanings.

King
 
<%= %> translates to <% Response.Write(...) %>

prop = "<%# .. %>" is a binding expression. when the binding is called,
the property will be set to the expression

prop = "<%$ .. %>" is a resource lookup. the property will be set to the
resource value.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top