需要加上如下代码: SqlCommand cmd = new SqlCommand(sqlStr, db.Con); cmd.CommandTimeout = 0; //设置执行时间,为0表示直到操作完成 ...
確定! 回上一頁