newbie needs help with tags

Discussion in 'ASP .Net' started by Danny Ni, Jun 12, 2008.

  1. Danny Ni

    Danny Ni Guest

    Hi,

    Can someone explain the differences of the following tags:

    <%= %>
    <%# %>

    TIA
     
    Danny Ni, Jun 12, 2008
    #1
    1. Advertising

  2. <%= %> calculates the enclosed expression and puts the result in the
    output http stream.

    <%# %> serves for databind expressions that get evaluated during
    databinding. Databinding takes place either automatically or as result of a
    DataBind call. As in the former case, the results go to the http output.


    --
    Eliyahu Goldin,
    Software Developer
    Microsoft MVP [ASP.NET]
    http://msmvps.com/blogs/egoldin
    http://usableasp.net


    "Danny Ni" <> wrote in message
    news:%...
    > Hi,
    >
    > Can someone explain the differences of the following tags:
    >
    > <%= %>
    > <%# %>
    >
    > TIA
    >
     
    Eliyahu Goldin, Jun 12, 2008
    #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. Dean H. Saxe
    Replies:
    0
    Views:
    1,078
    Dean H. Saxe
    Jan 3, 2004
  2. Rob Nicholson
    Replies:
    3
    Views:
    836
    Rob Nicholson
    May 28, 2005
  3. Ranganath

    Custom Tags within Custom Tags.

    Ranganath, Oct 17, 2003, in forum: Java
    Replies:
    2
    Views:
    487
    Ranganath
    Oct 21, 2003
  4. Mike
    Replies:
    3
    Views:
    972
    Michael Borgwardt
    Jan 9, 2004
  5. A. Brinkmann
    Replies:
    2
    Views:
    1,116
    A. Brinkmann
    Apr 16, 2004
Loading...

Share This Page