我有一个不知道如何解决的问题,我的代码中有一些用于操作的特殊字符,我有以下几行:
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
但是,当我编译时显示此错误:
似乎编译器正在使用é而不是é,我还有其他页面具有相同的操作,但是那里没有这个问题。
有人可以帮我吗?