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

推荐订阅源

S
SegmentFault 最新的问题
Spread Privacy
Spread Privacy
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
Blog — PlanetScale
Blog — PlanetScale
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Apple Machine Learning Research
Apple Machine Learning Research
SecWiki News
SecWiki News
腾讯CDC
P
Privacy International News Feed
Webroot Blog
Webroot Blog
J
Java Code Geeks
爱范儿
爱范儿
A
About on SuperTechFans
S
Secure Thoughts
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
D
DataBreaches.Net
Cloudbric
Cloudbric
Security Archives - TechRepublic
Security Archives - TechRepublic
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
C
Cyber Attacks, Cyber Crime and Cyber Security
P
Proofpoint News Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Security Latest
Security Latest
Forbes - Security
Forbes - Security
小众软件
小众软件
www.infosecurity-magazine.com
www.infosecurity-magazine.com
C
Cybersecurity and Infrastructure Security Agency CISA
T
Threatpost
量子位
MongoDB | Blog
MongoDB | Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
月光博客
月光博客
W
WeLiveSecurity
P
Privacy & Cybersecurity Law Blog
Vercel News
Vercel News
Google Online Security Blog
Google Online Security Blog
云风的 BLOG
云风的 BLOG
GbyAI
GbyAI
S
Security @ Cisco Blogs
T
The Exploit Database - CXSecurity.com
Help Net Security
Help Net Security
V
Visual Studio Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
Application and Cybersecurity Blog
Application and Cybersecurity Blog
博客园 - 聂微东
P
Proofpoint News Feed
C
CERT Recently Published Vulnerability Notes
Attack and Defense Labs
Attack and Defense Labs

博客园 - 荷子青

javascript判断字符长度最好的方法 - 荷子青 - 博客园 排序出现的一个奇怪的问题,找出原因后差点吐血 C#中时间格式的转换(转) 很喜欢的一些道理。 转载(SQL Server 存储过程的分页) 过劳死----IT界杀手 [注:该文属于转载,非原创],好可怕啊! 好东东:asp.net利用多线程执行长时间的任务,客户端显示出任务的执行进度的示例 遇到.net加了验证控件的表单无法提交的问题 学会了在DropDownList的项里加多个空格 做全文检索的小心得 关于sql server全文检索的一些资料收集2 关于sql server全文检索的一些资料收集2 关于sql server全文检索的一些资料收集1 客户自行更改了aspnet用户权限,结果整个网站不能用。查找了资料记录下来 远离“计算机皮肤”七招 计算机族必喝的茶 在CSDN上看到一篇文章。觉得不错。 做日文编码网页解决乱码的经验。(仇日派别砍我~~) 如何监视sql server连接池
学会了怎么样利用捕获异常提示数据库主键重复错误 - 荷子青 - 博客园
荷子青 · 2005-11-25 · via 博客园 - 荷子青

try
            
{
                
int re=SqlHelper.ExecuteNonQuery(SysConfiguration.ConnectionString, CommandType.StoredProcedure, "upd_task_complete_month",arParms); 
                
return re;
            }

            
catch(SqlException ex)
            
{
                
if(ex.Number==2627)
                
{
                    
return -1;  //主键重复
                }

                
else
                
{
                    
return 0;
                }

            }