Syntax Question

Discussion in 'ASP .Net' started by King Coffee, Feb 28, 2009.

  1. King Coffee

    King Coffee Guest

    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
    King Coffee, Feb 28, 2009
    #1
    1. Advertising

  2. King Coffee

    bruce barker Guest

    <%= %> 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)


    King Coffee wrote:
    > 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
    bruce barker, Mar 2, 2009
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. gabriele renzi
    Replies:
    2
    Views:
    202
    gabriele renzi
    Dec 31, 2005
  2. Ken Bloom
    Replies:
    3
    Views:
    206
  3. Good Night Moon
    Replies:
    9
    Views:
    280
    Rick DeNatale
    Jul 25, 2007
  4. Jacob Grover
    Replies:
    5
    Views:
    310
    Jacob Grover
    Jul 18, 2008
  5. Mark Richards
    Replies:
    3
    Views:
    310
    Tad McClellan
    Nov 18, 2007
Loading...

Share This Page