说明: C# 保存文件到数据库字段 attach new BusAttach ; FileInfo fi new FileInfo txtAttach Text Trim ; attach Fix fi Extension Substring 1 ToLower Trim ; FileStream fs fi OpenRead ; byte[] bytes new byte[fs Length]; fs Read bytes 0 Convert ToInt32 fs Length ; fs Close
<gujunxi731227> 上传 | 大小:584byte