我已编写此代码用于将文档存储在数据库中,但我得到 ReadTimeout = inputsream.ReadTimeout 引发类型 System.InvalidOperationException 错误<的异常< / p>
Stream inputsream = inputfile.InputStream;
BinaryReader binaryreader = new BinaryReader(inputsream);
byte[] bytes = binaryreader.ReadBytes((int)inputsream.Length);