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  
  • 相关阅读:
    Vue 项目目录结构分析
    Vue 项目环境搭建
    Vue 组件
    Vue 指令
    Vue 实例成员
    Django 静态文件
    MySQL 索引详解
    Django 请求生命周期
    18. 4Sum (JAVA)
    16. 3Sum Closest (JAVA)
  • 原文地址:https://www.cnblogs.com/ols/p/2615855.html
Copyright © 2011-2022 走看看