引用:http://topic.csdn.net/t/20030408/02/1631407.html
FileStream fs = File.Create(@ "c:\hot.xls "); StreamWriter sw = new StreamWriter(fs); sw.Write( "hello world "); fs.Close();