源错误: 行 25: 
行 26: 
行 27:  bo=cmd.ExecuteScalar();
行 28:  con.Close();
行 29:           return bo;源文件: E:\123\education\con1.cs    行: 27
我是用main.aspx登录出错的

解决方案 »

  1.   

    表regedit
    相关字段:
    姓名 VARCHAR2(100)
    密码 VARCHAR2(100)
    谢谢大家帮忙,在线等
      

  2.   

    打""试试
    select count(*) from test.regedit where "名字"=不过oracle数据库里字段名起中文名是个不太好的习惯
      

  3.   

    string sql="select count(*) from test.regedit where \"名字\"='"+userName.Text+"' and 密码='"+userPwd.Text+"'"; 
      

  4.   

    string sql="select count(*) from test.regedit where \"名字\"='"+userName.Text+"' and \"密码\"='"+userPwd.Text+"'";