不小心发现中粮网站的一个bug
在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