473,324 Members | 2,193 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,324 software developers and data experts.

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 1222
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*********@newsgroups.nospam> wrote in message
news:92**********************************@microsof t.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*********@REMOVETHISTEXTmetromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/
"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:uO**************@TK2MSFTNGP09.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*********@newsgroups.nospam> wrote in message
news:92**********************************@microsof t.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*********@newsgroups.nospam> wrote in message
news:92**********************************@microsof t.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
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
by: Christian Schmidbauer | last post by:
Hello! I prepare my XML document like this way: ------------------------------------------------------- PrintWriter writer; Document domDocument; Element domElement; // Root tag
129
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...
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,...
2
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...
2
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,...
5
by: ad | last post by:
I find there are some tag like <%= %> and <%# > in my .aspx file. What is the diffreence between <%= %> and <%# %>
2
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...
36
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.