473,398 Members | 2,525 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Meaning of <%#

I can't seem to find any mention of what <%# means in any
of my ASP.NET text books. Searching msdn and Goggle for
<%# also results in nothing. Can anyone offer a URL that
has some definition?

Thanks,
Frank
Nov 18 '05 #1
4 1421
I finally found some info on <%# when searching for Data
Binding Expression Syntax. It would be nice if MS would
add <%# to the help index in VS.NET like they did with <%
=.
Nov 18 '05 #2
Frank wrote:
I can't seem to find any mention of what <%# means in any
of my ASP.NET text books. Searching msdn and Goggle for
<%# also results in nothing. Can anyone offer a URL that
has some definition?


Frank,
Data binding individual control properties in Web Forms pages is not
implemented by directly tying the property to a source of data. Instead,
data binding is implemented by using a special expression format. The
data-binding expression is delimited with the characters <%# and %>.

For more information, please see:
http://msdn.microsoft.com/library/en...gexpressions.a

--

Thanks,
Carl Prothman
Microsoft ASP.NET MVP
Nov 18 '05 #3
Carl Prothman [MVP] wrote:
For more information, please see:
http://msdn.microsoft.com/library/en...gexpressions.a


Sorry, here is the correct URL
http://msdn.microsoft.com/library/en...xpressions.asp

--

Thanks,
Carl Prothman
Microsoft ASP.NET MVP
Nov 18 '05 #4
<%# ... %> isn't just used in DataBinding expressions it is used in any kind
of binding say you wanted to bind a boolean return from a method you can do
that too. You can use it on anything that is marked as Bindable(true). I
tried this out once to find the difference between <%= and <%#. = is for
string returns and # is for binding to controls.

That is what I came up with.
"Frank" <an*******@discussions.microsoft.com> wrote in message
news:04****************************@phx.gbl...
I can't seem to find any mention of what <%# means in any
of my ASP.NET text books. Searching msdn and Goggle for
<%# also results in nothing. Can anyone offer a URL that
has some definition?

Thanks,
Frank

Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Christian Schmidbauer | last post by:
Hello! I prepare my XML document like this way: ------------------------------------------------------- PrintWriter writer; Document domDocument; Element domElement; // Root tag
2
by: Eshrath | last post by:
Hi, What I am trying to do: ======================= I need to form a table in html using the xsl but the table that is formed is quite long and cannot be viewed in our application. So we are...
2
by: Donald Firesmith | last post by:
I am having trouble having Google Adsense code stored in XSL converted properly into HTML. The <> unfortunately become &lt; and &gt; and then no longer work. XSL code is: <script...
4
by: renderman | last post by:
Hi, I looked through a computergenerated code because I had to edit something manually. I found this line: <xsl:when test="''='FALSE'"> I don't get what this means.
4
by: higabe | last post by:
Three questions 1) I have a string function that works perfectly but according to W3C.org web site is syntactically flawed because it contains the characters </ in sequence. So how am I...
11
by: Les Paul | last post by:
I'm trying to design an HTML page that can edit itself. In essence, it's just like a Wiki page, but my own very simple version. It's a page full of plain old HTML content, and then at the bottom,...
10
by: Jon Noring | last post by:
Out of curiosity, may a CDATA section appear within an attribute value with datatype CDATA? And if so, how about other attribute value datatypes which accept the XML markup characters? To me,...
9
by: Eric Lindsay | last post by:
I can't figure how to best display little snippets of shell script using <pre>. I just got around to organising to bulk validate some of my web pages, and one of the problems occurs with Bash...
6
by: tentstitcher | last post by:
Hi all: I have a source xml document with an element of type string. This element contains something like the following: <stringData> &lt;Header&gt; &lt;Body&gt; </stringData> I would like to apply an...
4
by: Baby Lion | last post by:
it just makes me feel confusing ... what does ^ mean , and how to use it . thanks,
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.