惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

云风的 BLOG
云风的 BLOG
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
J
Java Code Geeks
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Engineering at Meta
Engineering at Meta
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
小众软件
小众软件
博客园 - 聂微东
酷 壳 – CoolShell
酷 壳 – CoolShell
月光博客
月光博客
Last Week in AI
Last Week in AI
博客园_首页
I
InfoQ
T
Tailwind CSS Blog
爱范儿
爱范儿
雷峰网
雷峰网
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
B
Blog
WordPress大学
WordPress大学
A
About on SuperTechFans
V
Visual Studio Blog
有赞技术团队
有赞技术团队
P
Proofpoint News Feed

博客园 - newbin

<该停暖气了> stay hungry,stay foolish Stay hungry, Stay foolish... string与stringbuilder的区别 为了实现自我价值,加油,加油! 多态和继承(Inheritance) abstract和interface的异同 [转贴]一名大学生应聘软件工程师的经历和感受 c# brief 关于const的一些解释 系统默认提供的CSS样式风格定义 thanks giving 真不知道怎么过 找根火柴棍把眼皮支起来 软件开发的四项基本原则 我们为什么需要 XML Windows 2000的引导过程 Understand CSS Terminology ROUNDTRIP AND POSTBACK 生命如此年轻
datagrid,datalist,repeater在Html页中的定义
newbin · 2004-11-30 · via 博客园 - newbin

感谢伤害你的人,因为他磨练你的意志。感谢欺骗你的人,因为他增进你的见识。
感谢鞭打你的人,因为他消除你的业障。感谢遗弃你的人,因为他教导你应自立。
感谢绊倒你的人,因为他强化你的力量。感谢呵责你的人,因为他助长你的定慧。
感谢所有使你坚定成就的人

To display a value from the

DataSource

To grab a value from the DataSource, we use the DataBinder.Eval() method, which takes two parameters: an object and a string. In our examples, we'll be using Container.DataItem as the object, which is, in essence, the current row of the DataSource that's being enumerated. For the string parameter, specify the name of the column you want to have displayed. Hence, in order to output the value of the au_fname column using data-binding syntax in a template, one would use

<%# DataBinder.Eval(Container.DataItem, "au_fname") %>

repeater