HtmlEncode : 对要在浏览器中显示的字符串进行编码。 对GridView列设置属性HtmlEncode = False即可. 比如: Dim yjField As New BoundField() yjField.DataField = "yj" yjField.HeaderText = "运价" yjField.ItemStyle.Wrap = False yjField.ReadOnly = True yjField.DataFormatString = "{0:N2}" 'yjField.HtmlEncode = False GridView1.Columns.Add(yjField)