将文件存储在Sqlserver 中,字段类型为binary ,请问用C#如何读取并转化成byte[]或者stream?

2025-05-08 17:18:23
推荐回答(1个)
回答1:

参考这个,源码可下载:
http://www.codeproject.com/Articles/32216/How-to-store-and-fetch-binary-data-into-a-file-str