可能重复:
XML 文件复制到字符串
<DETAIL Description='>> Problem:<br><br>CRS750 dumps when panel F is opened<br><br><br> <br>>> Functional Solution:<br><br>Check cause of the dump and fix it<br><br><br><br>>> Technical Solution:<br><br>Modified CRS750 and added fields WWVTRM and WWCRTP in CRA750F0 record format.<br><br><br><br>>> Related corrections<br><br>None <br><br><br><br>>> Affected Objects<br><br>CRS750 VIEWDEF MAT only' />
我想复制上面的字符串并用字符串中的值更新数据库中的表。
但是,由于它包含<br>
并<<
引发以下异常;
'<', hexadecimal value 0x3C, is an invalid attribute character. Line 1, position 902.
像这样的标签效果很好<DETAIL Objects='MAT: Viewdefinition:CRS750' />
请建议