[求助]关于filestream
FileStream fs=new FileStream(path1,FileMode.Create,FileAccess.ReadWrite);con = new SqlConnection("data source=spd;initial catalog=exam;user id=sa;password=123");
da = new SqlDataAdapter("select * from sj_table", con);
SqlCommandBuilder cb = new SqlCommandBuilder(da);
con.Open();
ds = new DataSet();
da.Fill(ds, "sj");
byte[] rtf1 =(byte[])ds.Tables["sj"].Rows[0][2];
byte[] rtf2 = (byte[])ds.Tables["sj"].Rows[1][2];
byte[] rtf3 = (byte[])ds.Tables["sj"].Rows[2][2];
int len1 = rtf1.Length;
int len2 = rtf2.Length;
int len3= rtf3.Length;
fs.Write(rtf1, 0, len1);
fs.Write(rtf2, 0, len2);
fs.Write(rtf3, 0, len3);
fs.Close();
con.Close();
为什么在WORD里只是显示了第一条记录,后两条没有显示啊