数据库为oracle 9i,用PLSQL Developer,可以操作该表,使用同样的用户名,但在c#的页面却只可以查询,无法删除或插入数据,不知是何原因。 
在页面错误提示为: 
ORA-00931:缺少标识; 
ORA-06512: 在“SYS_DBMS.UTILITY”,LINE 114 
ORA-06512: 在LINE 1

解决方案 »

  1.   

    protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e) 
        { 
            string sql = "delete from menu where id='"+GridView1.DataKeys[e.RowIndex].Value.ToString() +"'"; 
            new DataCommon().ExcuteSql(sql); 
          
            myDataBind(); 
        } 
    执行此语句时出错,但查询是完全正常的