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

推荐订阅源

T
Troy Hunt's Blog
Google DeepMind News
Google DeepMind News
G
Google Developers Blog
F
Full Disclosure
N
Netflix TechBlog - Medium
C
Check Point Blog
Recent Announcements
Recent Announcements
MyScale Blog
MyScale Blog
The Register - Security
The Register - Security
MongoDB | Blog
MongoDB | Blog
Blog — PlanetScale
Blog — PlanetScale
M
MIT News - Artificial intelligence
H
Help Net Security
F
Fortinet All Blogs
P
Proofpoint News Feed
I
InfoQ
Stack Overflow Blog
Stack Overflow Blog
L
LangChain Blog
Engineering at Meta
Engineering at Meta
Recorded Future
Recorded Future
Vercel News
Vercel News
A
About on SuperTechFans
GbyAI
GbyAI
T
The Blog of Author Tim Ferriss
B
Blog RSS Feed
S
Securelist
Y
Y Combinator Blog
C
Cybersecurity and Infrastructure Security Agency CISA
D
DataBreaches.Net
B
Blog
The Hacker News
The Hacker News
Security Latest
Security Latest
P
Privacy & Cybersecurity Law Blog
Scott Helme
Scott Helme
D
Darknet – Hacking Tools, Hacker News & Cyber Security
V
Vulnerabilities – Threatpost
Martin Fowler
Martin Fowler
人人都是产品经理
人人都是产品经理
Forbes - Security
Forbes - Security
T
The Exploit Database - CXSecurity.com
Latest news
Latest news
月光博客
月光博客
aimingoo的专栏
aimingoo的专栏
Apple Machine Learning Research
Apple Machine Learning Research
J
Java Code Geeks
AWS News Blog
AWS News Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
H
Heimdal Security Blog
C
Cisco Blogs

博客园 - jerry zheng

九个使用F#的理由 修改SharePoint网站最大上载大小时有时需要关注的事项 给网站加上 开心网 转帖功能 接着加班 。 关于ASP.NET中用GB2312编码后Request的乱码问题 一年过去了 我每天问自己以下几个问题: 常用方法-MIS系统常用的树菜单 7月份项目开发心得 7月份的第一个星期五。 基于ASP.NET AJAX 实现 client js call back web services ,return dataset or datatable... javascript常用函数集 加班通宵的日子 程序员的人生 该将如何规划?(转) 浅谈数据库设计技巧(上)、(下) 写给WEB2.0的站长 让silverlight支持输入文本框 start learning silverlight 今天正式注册个人博客
在repeater,gridview,datalist (数据源)中使用“用户自定义控件”时应该注意
jerry zheng · 2008-06-10 · via 博客园 - jerry zheng

在repeater,gridview,datalist (数据源)中使用“用户自定义控件”时应该注意,
首先在DataItem事件中使用FindControl找到用户自定义控件,比如:Label lbltitle = (Label)e.item.findcontrol("item").
注意:一般会用Alt+->或Ctrl+J 自能感知出自定义控件的类型,默认会是ASP.自定义控件名。。这样一个类,在进行编辑,调试,都没有问题,都可以正常运行,但是在发布时,确提示类型或命名空间找不到,
解决方案:自定义控件类名 lbltitle = (自定义控件类名)e.item.findcontrol("item")..直接这样就可以

总之 ,感觉对asp.net 还是一知半解的,特别是在运行机制,郁闷。。。

                                          专注于