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

推荐订阅源

博客园_首页
B
Blog RSS Feed
Microsoft Azure Blog
Microsoft Azure Blog
J
Java Code Geeks
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Google DeepMind News
Google DeepMind News
F
Fortinet All Blogs
V
V2EX
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Engineering at Meta
Engineering at Meta
月光博客
月光博客
阮一峰的网络日志
阮一峰的网络日志
M
MIT News - Artificial intelligence
IT之家
IT之家
博客园 - 【当耐特】
U
Unit 42
云风的 BLOG
云风的 BLOG
L
LangChain Blog
小众软件
小众软件
Microsoft Security Blog
Microsoft Security Blog
B
Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
宝玉的分享
宝玉的分享
N
Netflix TechBlog - Medium

博客园 - 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