问题:不能使用 '';文件已在使用中。
竹君子 2003-11-09 05:44:40 连接access时报错
string conntr="Provider=Microsoft.Jet.OLEDB.4.0;Data Source="+Server.MapPath("database/homechat.mdb");
OleDbConnection conn=new OleDbConnection(conntr);
conn.Open();
string sqltr="select id,face,fname,sex from member where id='"+uid+"' and pd='"+upd+"'";
OleDbCommand mycomm= new OleDbCommand(sqltr, conn);