[求助]关于文件输出的问题
string path1;path1=pp+"\\page\\tm.doc";
if (this.progressBar1.Value == this.progressBar1.Maximum)
{ timer1.Enabled = false;
showtest();
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 中了,后两句怎么不显示在WORD 中啊