特殊字符在编译时发生变化

时间:2018-08-03 15:03:41

标签: asp.net vb.net visual-studio compiler-errors

我有一个不知道如何解决的问题,我的代码中有一些用于操作的特殊字符,我有以下几行:

            If CType(gridProductos.Rows(i).Cells(dtCabecerasGrilla(0)("Descuento ésta venta")).FindControl("txtDescuentoPrecioVenta"), TextBox).Text <> "" Then
            fila.Item("DescuentoPrecioVenta") = CDbl(CType(gridProductos.Rows(i).Cells(dtCabecerasGrilla(0)("Descuento ésta venta")).FindControl("txtDescuentoPrecioVenta"), TextBox).Text.Replace("%", ""))
        Else
            fila.Item("DescuentoPrecioVenta") = CDbl(gridProductos.Rows(i).Cells(dtCabecerasGrilla(0)("DescuentoPrecioVenta")).Text)
        End If

但是,当我编译时显示此错误:

Example image

似乎编译器正在使用é而不是é,我还有其他页面具有相同的操作,但是那里没有这个问题。

有人可以帮我吗?

0 个答案:

没有答案