473,809 Members | 2,610 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Documentation on the <%# %> syntax?

I am relatively new to the world of ASP .NET programming. So I really don't understand much of the code in the WebForms HTML View. The rendering "<%# %>" syntax does not make much sense to me. I suspect it comes form the ASP classic world which I have never worked in. I cannot only documentation on it in the MSDN Library for Visual Studio. I have been able to get by for the past year coding WebForms in Design View and now want to learn to code in HTML View

Thanks in Advance..

Nov 18 '05 #1
4 1243
Hi Steve,

The documentation is there but hard to find unless you know where to look.
(I've complained about the crummy MS search engine that refuses to recognize
ASP.NET syntax such as <%# and so on.)

Here's where you can get details:

Data Binding Expression Syntax
http://msdn.microsoft.com/library/en...asp?frame=true

Code Render Blocks
http://msdn.microsoft.com/library/en...asp?frame=true

Does this help?

Ken
Microsoft MVP [ASP.NET]

"Steve Kallal" <st*********@ne wsgroups.nospam > wrote in message
news:92******** *************** ***********@mic rosoft.com...
I am relatively new to the world of ASP .NET programming. So I really don't
understand much of the code in the WebForms HTML View. The rendering "<%#
%>" syntax does not make much sense to me. I suspect it comes form the ASP
classic world which I have never worked in. I cannot only documentation on
it in the MSDN Library for Visual Studio. I have been able to get by for
the past year coding WebForms in Design View and now want to learn to code
in HTML View.

Thanks in Advance...


Nov 18 '05 #2
The <%# and the %> outline the asp code in a html document. I good site for beginners would b

http://www.w3schools.co

The have a lot of stuff for beginners to many languages, and I often find myself going there for reference occasionally =)
Nov 18 '05 #3
Those references were useful. Thanks Ken.
--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET cs*********@REM OVETHISTEXTmetr omilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/
"Ken Cox [Microsoft MVP]" <BA************ @sympatico.ca> wrote in message
news:uO******** ******@TK2MSFTN GP09.phx.gbl...
Hi Steve,

The documentation is there but hard to find unless you know where to look.
(I've complained about the crummy MS search engine that refuses to recognize ASP.NET syntax such as <%# and so on.)

Here's where you can get details:

Data Binding Expression Syntax
http://msdn.microsoft.com/library/en...asp?frame=true
Code Render Blocks
http://msdn.microsoft.com/library/en...asp?frame=true
Does this help?

Ken
Microsoft MVP [ASP.NET]

"Steve Kallal" <st*********@ne wsgroups.nospam > wrote in message
news:92******** *************** ***********@mic rosoft.com...
I am relatively new to the world of ASP .NET programming. So I really don'tunderstand much of the code in the WebForms HTML View. The rendering "<%#
%>" syntax does not make much sense to me. I suspect it comes form the ASPclassic world which I have never worked in. I cannot only documentation onit in the MSDN Library for Visual Studio. I have been able to get by for
the past year coding WebForms in Design View and now want to learn to codein HTML View.

Thanks in Advance...

Nov 18 '05 #4
I find the HTML editor absolutely invaluable - I couldn't live without it!
HTML is also a language to be respected as any other, even though it is
largely a declarative rather than procedural language, and is very
powerful...if you understand HTML it is very useful indeed - it has full
intellisense that always works aswell which is extra useful

"Steve Kallal" <st*********@ne wsgroups.nospam > wrote in message
news:92******** *************** ***********@mic rosoft.com...
I am relatively new to the world of ASP .NET programming. So I really don't understand much of the code in the WebForms HTML View. The rendering
"<%# %>" syntax does not make much sense to me. I suspect it comes form the
ASP classic world which I have never worked in. I cannot only documentation
on it in the MSDN Library for Visual Studio. I have been able to get by for
the past year coding WebForms in Design View and now want to learn to code
in HTML View.
Thanks in Advance...

Nov 18 '05 #5

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

Similar topics

13
2509
by: dpj5754 | last post by:
Is there a simple and determinist way to make the difference between the 2 sequences: <XX></XX> and <XX/> The EndElement callback does not provide this information.
1
6832
by: Christian Schmidbauer | last post by:
Hello! I prepare my XML document like this way: ------------------------------------------------------- PrintWriter writer; Document domDocument; Element domElement; // Root tag
129
64603
by: Torbjørn Pettersen | last post by:
I've started cleaning up my HTML and implementing CSS. So far I've used FrontPage, but am switching over to DreamWeaver. Reading a bit on W3Schools.com and W3.org I see there are a lot of HTML code I never even knew existed. Among these are <em> and <strong>. What's the difference between these two and <i> and <b>? -- Torbjørn Pettersen Editor/Webmaster
11
13733
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, there's an "Edit" link. So the page itself looks something like this: <HTML><HEAD><TITLE>blah</TITLE></HEAD><BODY> <!-- TEXT STARTS HERE --> <H1>Hello World!</H1> <P>More stuff here...</P>
2
2070
by: Tom Vogel | last post by:
I'd like to use the XML Documentation Tags to comment my C# code. But many of the tags do not have any effect when I execute the "Build Comment Web Pages" menu. For example, the <list> tag gets reendered as is. The resulting HTML page contains the exact same tags, which are not valid HTML. The same with <see> or <see also>. Isn't this function supposed to transform these tags into valid HTML? Did anybody see this work properly?
2
1010
by: clintonG | last post by:
Could somebody dig up the reference to the documentation for this particular code block? -- <%= Clinton Gallagher A/E/C Consulting, Web Design, e-Commerce Software Development Wauwatosa, Milwaukee County, Wisconsin USA NET csgallagher@ REMOVETHISTEXT metromilwaukee.com URL http://www.metromilwaukee.com/clintongallagher/
5
1897
by: ad | last post by:
I find there are some tag like <%= %> and <%# > in my .aspx file. What is the diffreence between <%= %> and <%# %>
2
2668
by: ME | last post by:
If one wanted to find the documentation for Eval one would look at the documentation for DataBinder.Eval. Where would one find the documentation for the .NET 2.0 Bind method which performs two way binding? I can't seem to find any documentation on it. Thanks, Matt
36
5127
by: Roedy Green | last post by:
The only browser I have encountered that supports <colgroup><col class="behold"></colgroup> to apply a CSS style to a whole column, is Microsoft Internet Explorer. I have been told it SHOULD NOT do so, since this is not part of the specification. How then to you apply styles to entire columns? Surely you don't have to write <td class="behold"on every row item.
0
9721
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10640
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10376
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10387
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10120
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9200
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7662
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5689
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.