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

推荐订阅源

T
Tailwind CSS Blog
C
CERT Recently Published Vulnerability Notes
P
Proofpoint News Feed
Vercel News
Vercel News
博客园 - 三生石上(FineUI控件)
IT之家
IT之家
Help Net Security
Help Net Security
月光博客
月光博客
N
News and Events Feed by Topic
Cloudbric
Cloudbric
博客园 - 司徒正美
L
LangChain Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
Tenable Blog
The Register - Security
The Register - Security
The Hacker News
The Hacker News
I
InfoQ
The Last Watchdog
The Last Watchdog
MyScale Blog
MyScale Blog
Schneier on Security
Schneier on Security
WordPress大学
WordPress大学
小众软件
小众软件
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
宝玉的分享
宝玉的分享
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
K
Kaspersky official blog
L
LINUX DO - 热门话题
N
News | PayPal Newsroom
F
Fortinet All Blogs
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
S
Security @ Cisco Blogs
Recorded Future
Recorded Future
大猫的无限游戏
大猫的无限游戏
H
Help Net Security
Google Online Security Blog
Google Online Security Blog
S
Schneier on Security
C
Cisco Blogs
N
News and Events Feed by Topic
V2EX - 技术
V2EX - 技术
Latest news
Latest news
PCI Perspectives
PCI Perspectives
T
The Blog of Author Tim Ferriss
P
Palo Alto Networks Blog
T
Tor Project blog
Project Zero
Project Zero
云风的 BLOG
云风的 BLOG
Webroot Blog
Webroot Blog
Attack and Defense Labs
Attack and Defense Labs
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org

博客园 - tronic

进度条HTML - tronic - 博客园 linq操作datatable - tronic - 博客园 ASP.NET中漂亮的弹出对话框 C# 操作数据库,数据库表 实现MSN弹出窗口特效示例代码 - tronic - 博客园 加密和解密运算代码 - tronic - 博客园 在应用程序级别之外使用注册为 allowDefinition='MachineToApplication' 的节是错误的 CreateUserWizard的控件插得很深 - tronic - 博客园 保留一下遍历页面所有控件的方法 C#中web.config文件详解 招聘 ASP.NET程序员 任何调用的结束,一定要Dispose 使用WebClient自动填写并提交ASP.NET页面表单 任何时候使用POST数据都要URLENCODE 获取图片地址代码(严格按HTML编写的图片地址) 正则表达式获取内容中的数字 Asp.Net性能优化. 生成n位不同的验证码 Asp.Net细节性问题技巧精萃
可视化操作常见错误的解决方法
tronic · 2007-07-06 · via 博客园 - tronic

   可视化操作的效率的确很高,但有时会出一些比较奇怪的错误,以下经常的:

1)必须声明标量变量@ID (明明已经声明了此变量,还是有这个错误) 解决方法:加入一个hidden变量,将id值加入即可.

2)编辑列时,将时间定义为{0:d} 却无法将时间转来短格式.  解决方法:将自动生成的列转来模板即可.

3)当dropdownlist绑定数据时,出现"没有出现对应项" 解决方法:绑定的数据格式定义为{0},或者检查数据库此项是否为空

4)最好不要用母版页,因为会出现一些未名错误,如MultiView就会出错错误(会重新加载页面,令view中的信息消失)

5)gridview没有插入操作 解决方法:在emptytmplate处加入formview进行操作.(具体请下载本人上传的投票源程序)

6)自动生成SQL的插入,更新操作时,会出现错误,导致不用插入或者更新. 解决方法:查看源代码进行修改.