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

推荐订阅源

Attack and Defense Labs
Attack and Defense Labs
The GitHub Blog
The GitHub Blog
C
Check Point Blog
博客园_首页
MongoDB | Blog
MongoDB | Blog
N
Netflix TechBlog - Medium
F
Full Disclosure
Microsoft Security Blog
Microsoft Security Blog
爱范儿
爱范儿
Recent Announcements
Recent Announcements
阮一峰的网络日志
阮一峰的网络日志
G
GRAHAM CLULEY
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Threat Research - Cisco Blogs
C
Cybersecurity and Infrastructure Security Agency CISA
V
Vulnerabilities – Threatpost
K
Kaspersky official blog
博客园 - 司徒正美
S
Schneier on Security
T
The Exploit Database - CXSecurity.com
Project Zero
Project Zero
云风的 BLOG
云风的 BLOG
Cisco Talos Blog
Cisco Talos Blog
Know Your Adversary
Know Your Adversary
雷峰网
雷峰网
V
V2EX - 技术
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Spread Privacy
Spread Privacy
罗磊的独立博客
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
S
Security Affairs
SecWiki News
SecWiki News
Schneier on Security
Schneier on Security
O
OpenAI News
Jina AI
Jina AI
PCI Perspectives
PCI Perspectives
Cyberwarzone
Cyberwarzone
Y
Y Combinator Blog
Apple Machine Learning Research
Apple Machine Learning Research
B
Blog RSS Feed
I
InfoQ
D
Docker
P
Palo Alto Networks Blog
Recorded Future
Recorded Future
M
MIT News - Artificial intelligence
博客园 - Franky
B
Blog
Scott Helme
Scott Helme
博客园 - 叶小钗
D
DataBreaches.Net

博客园 - 林公子

【译】Import Changes from Direct3D 11 to Direct3D 12 Ring buffers and queues Texture tiling and swizzling 关于strlen误用的一点记录 关于UIView的显示问题 Unreal Engine 3自定义Post Process Effect 关于“应用程序无法正常启动(0xc000007b)。请单击“确定”关闭应用程序。” 【转】齐次坐标的理解 Learning XNA 3.0翻译连载--第六章 基本的人工智能(2) Learning XNA 3.0翻译连载--第六章 基本的人工智能(1) Learning XNA 3.0翻译连载--第5章 声音和音效 - 林公子 Learning XNA 3.0翻译连载--第4章 应用面向对象设计 Learning XNA 3.0翻译连载--第3章 用户输入和碰撞检测 Learning XNA 3.0翻译连载--第2章 精灵的乐趣(2) Learning XNA 3.0翻译连载--第2章 精灵的乐趣(1) Learning XNA 3.0翻译连载--第1章 起步 Learning XNA 3.0翻译连载--序言 Learning XNA 3.0翻译连载 理解C#中的委托和事件
xpath? XPath! --大小写之惑
林公子 · 2008-02-18 · via 博客园 - 林公子

     近日系统学习ASP.NET2.0。观看MSDN的webcase视频教程"ASP.NET2.0快速入门"(感谢苏鹏老师:))。其中讲到XmlDataSource控件的使用。建一个页面,拖拽一个XmlDataSource控件,绑定了一个在线的xml文件作为数据源,然后拖一个FormView控件,编辑模板ItemTemplate,拖了两个Label上去,设置 数据绑定,分别使用xpath表达式取得xml文件中的"title"和"description"字段。教程中使用的语言是VB,我用的是C#,在IDE中比画了一番,搞定,编译,“当!”,出错了,啥问题?输出窗口显示,“上下文中不存在名称'xpath'”。这可奇怪了,明明一步步按着来的,怎么会错呢?于是吧教程的demo代码(VB)加入到解决方案中,编译,一次通过,一点问题没有。我这下纳闷了,这两个工程除了后台语言不同之外设置都是一样,百思不得其解,上网搜索无果,一遍一遍的看着出错信息,xpath,xpath。。。小写的,突然想到VB中是不区分大小写的,如果是C#中会怎样?xpath应该写成XPath吧?不管有没有道理,试试看再说,结果,还蒙着了,编译顺利通过。
     这是学习中的一个小插曲,却折腾了我半天,足见功力尚浅。写下此文,作为成长路上的一个标记吧。