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. Advertisements

  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. Advertisements

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. Michael Riepe

    strange VHDL syntax question

    Michael Riepe, Oct 6, 2004, in forum: VHDL
    Replies:
    1
    Views:
    774
    Mike Treseler
    Oct 11, 2004
  2. lomtik
    Replies:
    10
    Views:
    4,428
    lomtik
    Dec 24, 2004
  3. sean
    Replies:
    1
    Views:
    763
    Cowboy \(Gregory A. Beamer\)
    Oct 20, 2003
  4. gabriele renzi
    Replies:
    2
    Views:
    372
    gabriele renzi
    Dec 31, 2005
  5. Ken Bloom
    Replies:
    3
    Views:
    463
  6. Good Night Moon
    Replies:
    9
    Views:
    535
    Rick DeNatale
    Jul 25, 2007
  7. Jacob Grover
    Replies:
    5
    Views:
    523
    Jacob Grover
    Jul 18, 2008
  8. Mark Richards
    Replies:
    3
    Views:
    494
    Tad McClellan
    Nov 18, 2007
Loading...