<分区>
以前从未见过这样的东西。我正在做一个非常简单的 DataReader 值分配。
story.Byline = _r["Byline"].ToString();
但是 _r["Byline"].ToString()
的值和 story.Byline
分配后是不同的。这是立即窗口的输出:
story.Byline
"Associated Press - FIRST LASTAssociated Press - FIRST LAST"
_r["Byline"].ToString()
"Associated Press - FIRST LAST<br />Associated Press - FIRST LAST"
为什么是<br />
被移除?