473,761 Members | 8,651 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

meaning of this statement: DataSource="<%# DsBooks1 %>"

I found this code in visual studio.net MSDN help.
this is the link:
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003 FEB.1033/dv_vstechart/html/vbtchTopQue
stionsAboutASPN ETDataGridServe rControl.htm#vb tchtopquestions aboutaspnetdata g
ridservercontro ldisplayingadro p-downlistineditm ode

I don't understand the syntax: "<%#"
Anybody knows, I checked many books, searched online. No luck!!!
Nov 18 '05 #1
3 1173
"peng" <zp*******@hotm ail.com> skrev i en meddelelse
news:eK******** ******@TK2MSFTN GP12.phx.gbl...
I found this code in visual studio.net MSDN help.
this is the link:
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003 FEB.1033/dv_vstechart/html/vbtchTopQue stionsAboutASPN ETDataGridServe rControl.htm#vb tchtopquestions aboutaspnetdata g ridservercontro ldisplayingadro p-downlistineditm ode

I don't understand the syntax: "<%#"
Anybody knows, I checked many books, searched online. No luck!!!


This is ASP.NET data binding syntax. Explained many places, for instance
here:

http://support.microsoft.com/default...;en-us;q307860

/Jens
--
Jens Christian Mikkelsen
http://www.jcmikkelsen.dk
Nov 18 '05 #2
Thanks!
I search MSDN using the keyword "<%#". How come I didn't find anything?

What is the correct way to search?

"Jens Christian Mikkelsen" <je*********@jc mikkelsenNoSpam Please.dk> wrote in
message news:%2******** *******@TK2MSFT NGP12.phx.gbl.. .
"peng" <zp*******@hotm ail.com> skrev i en meddelelse
news:eK******** ******@TK2MSFTN GP12.phx.gbl...
I found this code in visual studio.net MSDN help.
this is the link:

ms-help://MS.VSCC.2003/MS.MSDNQTR.2003 FEB.1033/dv_vstechart/html/vbtchTopQue

stionsAboutASPN ETDataGridServe rControl.htm#vb tchtopquestions aboutaspnetdata g
ridservercontro ldisplayingadro p-downlistineditm ode

I don't understand the syntax: "<%#"
Anybody knows, I checked many books, searched online. No luck!!!


This is ASP.NET data binding syntax. Explained many places, for instance
here:

http://support.microsoft.com/default...;en-us;q307860

/Jens
--
Jens Christian Mikkelsen
http://www.jcmikkelsen.dk

Nov 18 '05 #3
Peng, check out:
http://samples.gotdotnet.com/quickst...tabinding.aspx

Karl

"peng" <zp*******@hotm ail.com> wrote in message
news:%2******** *******@tk2msft ngp13.phx.gbl.. .
Thanks!
I search MSDN using the keyword "<%#". How come I didn't find anything?

What is the correct way to search?

"Jens Christian Mikkelsen" <je*********@jc mikkelsenNoSpam Please.dk> wrote in message news:%2******** *******@TK2MSFT NGP12.phx.gbl.. .
"peng" <zp*******@hotm ail.com> skrev i en meddelelse
news:eK******** ******@TK2MSFTN GP12.phx.gbl...
I found this code in visual studio.net MSDN help.
this is the link:

ms-help://MS.VSCC.2003/MS.MSDNQTR.2003 FEB.1033/dv_vstechart/html/vbtchTopQue

stionsAboutASPN ETDataGridServe rControl.htm#vb tchtopquestions aboutaspnetdata g
ridservercontro ldisplayingadro p-downlistineditm ode

I don't understand the syntax: "<%#"
Anybody knows, I checked many books, searched online. No luck!!!


This is ASP.NET data binding syntax. Explained many places, for instance
here:

http://support.microsoft.com/default...;en-us;q307860

/Jens
--
Jens Christian Mikkelsen
http://www.jcmikkelsen.dk


Nov 18 '05 #4

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

Similar topics

1
6827
by: Christian Schmidbauer | last post by:
Hello! I prepare my XML document like this way: ------------------------------------------------------- PrintWriter writer; Document domDocument; Element domElement; // Root tag
4
2031
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.
3
1751
by: Oliver Saunders | last post by:
can someone please tell me why everytime i try and pass this to a js function i can't seem to use it for anything: <html> <head> <script language="javascript"> function a(fromlink) { alert(fromlink.nodeName); // outputs undefined alert(fromlink.nodeType); // outputs undefined alert(fromlink.parentNode); // outputs undefined
2
6851
by: andrew007 | last post by:
I do xml / xslt transformation using asp.net but I found any value (w/xml format) in xml node html-encoded to &lt and &gt format if it's > or < tag. Since I have sub xml data in a parent xml node as a value. Check out the following problem. I want to convert the value in <WpDatesXml> node to have a valid "<" and ">" instead of &lt or &gt format so that I can use this xml for another use. Please help! <NewDataSet> <Table1>
3
3495
by: Jim in Arizona | last post by:
Most of the asp.net learning I've done has been from books that were written during the 1.0 framework. I didn't have a copy of visual studio when I started reading them then I got a hold of VS 2005 Beta 1, then Beta 2. I was using the <div runat="server"> statement on my projects. Once I placed a <div id="testdiv" runat="server"> within my aspx page, I could then manipulate it in the code behind like so: testdiv.visible = true...
11
2241
by: Holger | last post by:
Hi I have not been able to figure out how to do compound statement from C - "<test>?<true-val>:<false-val>" But something similar must exist...?! I would like to do the equivalent if python of the C line: printf("I saw %d car%s\n", n, n != 1 ? "s" : "")
18
10755
by: zoilus | last post by:
Can not determine how "<?=PHP_SELF?>" is supposed to work. The below is the line of code. <!-- <form name="search" method="post" action="<?=$PHP_SELF?>"--> When the above statement is run the following is the result. You don't have permission to access /dev/forms/forms_testing/< on this server.
29
2006
by: not.here.now | last post by:
A quick search of this group and its FAQ, and elsewhere, have not answered this question to my satisfaction. Apologies if I missed something obvious, either in the literature or my reasoning. Can someone tell me why "->" exists? The compiler knows the difference between a structure and a pointer to a structure, so why can't it just let me write "foo.bar" in both cases and not have to go back and rewrite things when I later decide I want...
36
5107
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
9531
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
9345
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10115
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...
1
9905
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
9775
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
8780
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
7332
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
5229
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...
3
2752
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.