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

推荐订阅源

Vercel News
Vercel News
Y
Y Combinator Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
N
Netflix TechBlog - Medium
MyScale Blog
MyScale Blog
F
Fortinet All Blogs
Microsoft Azure Blog
Microsoft Azure Blog
H
Help Net Security
C
Check Point Blog
博客园 - 聂微东
云风的 BLOG
云风的 BLOG
M
MIT News - Artificial intelligence
U
Unit 42
WordPress大学
WordPress大学
B
Blog
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
T
Tailwind CSS Blog
D
DataBreaches.Net
G
Google Developers Blog
T
The Blog of Author Tim Ferriss
Hugging Face - Blog
Hugging Face - Blog
IT之家
IT之家

博客园 - ols

grails导入excel grails的插件 grails环境搭建 短租app简析 在.net中用NAudio控件播放MP3 第十三章 第六节 本章小结 第十三章 第五节 关于WindowManager的一些话 第十三章 第四节 ApplicationWindow类 第十三章 第三节 SWT和JFace的关系 第十三章 第二节 问候JFace的世界 第十三章 第一节 概述 第四章 第五节 使用GridLayout 第四章 第四节 使用RowLayout 第四章 第三节 使用FillLayout 第四章 第二节 布局 第四章 第一节 概述 第三章 第七节 本章小结 第三章 第六节 SWT类的常量与函数 第三章 第五节 剖析Shell对象
不小心发现中粮网站的一个bug
ols · 2012-07-30 · via 博客园 - ols

http://www.cofco-trust.com/resume/job/alljob.aspx页面点击右侧中间位置的“我要应聘”,引起错误的代码直接写在页面上,截图如下

 

完整的文字内容:

“/”应用程序中的服务器错误。

编译错误

说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。 

编译器错误信息: CS1061: 'BaseData' does not contain a definition for 'executecmdandbackID' and no extension method 'executecmdandbackID' accepting a first argument of type 'BaseData' could be found (are you missing a using directive or an assembly reference?)

源错误:

行 259:        string sql = "insert into resumes(myname,born,sex,workplace,nationals,account,email,telphone,moblie,address,code,signname,adddate,information,edu,job,certificates,jobid) 
values('" + name + "','" + born + "','" + sex + "','" + workplace + "','" + nationals + "','" + accounts + "','" + emails + "','" + phone + "','" + moblies + "','" + add + "','" + codes + "','" + mysign + "','" + adddate + "','" + information + "','" + edu + "','" + job + "','" +certificates + "'," + jobid + ");select @@identity";
行 260:        BaseData bd = new BaseData();
行 261:        string returnID = bd.executecmdandbackID(sql);
行 262:         if (bd != null)
行 263:         {

源文件: d:\zlxt\resume\job\applijob1.aspx.cs    行: 261