我的数据库中有个字段的类型是Image的,我想保存Word文档,我插入的时候没有错误,可是我读的时候怎么读出来的都是空文档,是不是我插入的代码有问题,我觉得好象没有问题啊?
我的代码是这样的:public byte[] GetDocu(string filepath)
{
  System.IO.FileStream fs=new FileStream(filepath,System.IO.FileMode.Open,System.IO.FileAccess.Read);
  System.IO.BinaryReader br=new BinaryReader(fs);
  byte[] docu=br.ReadBytes((int)fs.Length);
  br.Close();
  fs.Close();
  return docu;
}//filepath:文件的路径
我的目的是要获取该文件的byte[],大家看看这个有问题吗?