zoukankan      html  css  js  c++  java
  • 不小心发现中粮网站的一个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  
  • 相关阅读:
    python闭包和装饰器(转)
    python生成器(转)
    python中迭代器(转)
    python中xrange和range(转)
    python函数式编程(转)
    图论
    查找算法
    优先队列和堆排序(转)
    手动爬虫之淘宝笔记本栏(ptyhon3)
    手动爬虫之报头及代理封装类(python3)
  • 原文地址:https://www.cnblogs.com/ols/p/2615855.html
Copyright © 2011-2022 走看看