Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > newbie needs help with tags

Reply
Thread Tools

newbie needs help with tags

 
 
Danny Ni
Guest
Posts: n/a
 
      06-12-2008
Hi,

Can someone explain the differences of the following tags:

<%= %>
<%# %>

TIA


 
Reply With Quote
 
 
 
 
Eliyahu Goldin
Guest
Posts: n/a
 
      06-12-2008
<%= %> 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" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi,
>
> Can someone explain the differences of the following tags:
>
> <%= %>
> <%# %>
>
> TIA
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
All style tags after the first 30 style tags on an HTML page are not applied in Internet Explorer Rob Nicholson ASP .Net 3 05-28-2005 03:11 PM
Evaluating struts tags inside my own custom tags... A. Brinkmann Java 2 04-16-2004 07:44 AM
JSP newbie - use include, custom tags, standard tags - or what? Mike Java 3 01-09-2004 09:30 AM
RegEx to find CFML tags nested in HTML tags Dean H. Saxe Perl 0 01-03-2004 06:11 PM
Custom Tags within Custom Tags. Ranganath Java 2 10-21-2003 06:14 AM



Advertisments