摘要:
conn.Open打开是有次数上限的解决办法编码过程中使用返回SqlDataReader类型函数来操作数据库时,何如关闭数据库连接如:public static OleDbDataReader ExecuteReader(string strSQL){OleDbConnection connection = new OleDbConnection(connectionString);OleDbCommand cmd = new OleDbCommand(strSQL, connection);try{connection.Open();OleDbDataReader myReader = cm 阅读全文