前边2解决了,现在主要是操作access库时候有问题:
Line 86:  String SQLII="update Student set pictures='" + "IMG" + filecont + file_type + "' where (studentID='" + sss +"')";
Line 87:  OleDbCommand myCmdII = new OleDbCommand(SQLII, myConn);
Line 88:  myCmdII.ExecuteReader(); 
Line 89:  Response.Write("<a href='webform2.aspx'>BACK</a>");
Line 90:  DropDownList1.Visible=false; Source File: D:\Inetpub\wwwroot\AAA_Liujw\Riduwan\WebApplication9\WebForm2.aspx    Line: 88

解决方案 »

  1.   

    你的Connectiom的连接串是什么呀?
      

  2.   

    你的access版本是多少?
    在2000及以下版本,应该没有问题。
    但是在XP下面就又这种问题,我曾经遇到过,可能是和Privide版本有关系。
      

  3.   

    Connectiom的连接串:
    OleDbConnection myConn = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" +Server.MapPath("dbWebIS.mdb"));
      

  4.   

    os and office  all 2000,
    any other way for connection string?
    how can I use myCmd.ExecuteNonQuery?
      

  5.   

    using myCmd.ExecuteNonQuery(); replace myCmdII.ExecuteReader();
      

  6.   

    是不是Microsoft Data Access Components(MDAC)的问题?
      

  7.   

    你是一个web工程,得打一个安装包到Server上安装.
      

  8.   

    选择新建工程,setup and deployment projects
    自己看
      

  9.   

    非常感谢 free_eyes(eyes) 和回答问题的朋友,
    结贴喽!