请教asp.net 导出word 怎样保留回车、换行?
Dim str As String = ""
' str += "<html><head><title></title></head><body>"
'ye mian shi tu
str += "<html "
str += "xmlns:v='urn:schemas-microsoft-com:vml' xmlns:o='urn:schemas-microsoft-com:office:office' "
str += "xmlns:w='urn:schemas-microsoft-com:office:word' xmlns:m='http://schemas.microsoft.com/office/2004/12/omml' "
str += "xmlns='http://www.w3.org/TR/REC-html40' "
str += " ><head> "
str += " <!--[if gte mso 9] "
str += "><xml><w:WordDocument><w:View>Print</w:View><w:TrackMoves>false</w:TrackMoves><w:TrackFormatting/><w:ValidateAgainstSchemas/><w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid><w:IgnoreMixedContent>false</w:IgnoreMixedContent><w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText><w:DoNotPromoteQF/><w:LidThemeOther>EN-US</w:LidThemeOther><w:LidThemeAsian>ZH-CN</w:LidThemeAsian><w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript><w:Compatibility><w:BreakWrappedTables/><w:SnapToGridInCell/><w:WrapTextWithPunct/><w:UseAsianBreakRules/><w:DontGrowAutofit/><w:SplitPgBreakAndParaMark/><w:DontVertAlignCellWithSp/><w:DontBreakConstrainedForcedTables/><w:DontVertAlignInTxbx/><w:Word11KerningPairs/><w:CachedColBalance/><w:UseFELayout/></w:Compatibility><w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel><m:mathPr><m:mathFont m:val='Cambria Math'/><m:brkBin m:val='before'/><m:brkBinSub m:val='--'/><m:smallFrac m:val='off'/><m:dispDef/><m:lMargin m:val='0'/> <m:rMargin m:val='0'/><m:defJc m:val='centerGroup'/><m:wrapIndent m:val='1440'/><m:intLim m:val='subSup'/><m:naryLim m:val='undOvr'/></m:mathPr></w:WordDocument></xml><![endif]--> "
str += " <title></title></head><body>"
str += "<TABLE style='Z-INDEX: 101; LEFT: 21px; WIDTH: 600px; POSITION: absolute; TOP: 0px; HEIGHT: 556px'"
str += "id='Table0' border='0' cellSpacing='1' "
str += "cellPadding='1'>"
str += "<TR>"
str += "<TD style='HEIGHT: 38px' colSpan='4' align='center'><FONT style='FONT-WEIGHT: bolder; FONT-SIZE: 16px' face='宋体'>" & Tbyear.Text.Trim & "年" & Ddlpart.SelectedValue.Trim & "</FONT></TD>"
str += "</TR>"
str += "</Table>"