我需要在 asp.net 页面上显示一个带有空格的字符串。
****这是我正在做的:****
cell = New TableCell
cell.Text = value (lets assume value is <" test with whitespace ">
row.Cells.Add(cell)
它被渲染为
<tr>
<td>" test with whitespace "</td>
</tr>
不显示单引号内的空格。
我希望这个值在我的页面上显示。