G
Guest
I have to bind a field whose name include parentheses to a label web control
in ASP.NET 2.0 . When I write code as following:
<%# Eval("[MyColumnName(kg)]"%>
a exception will be thrown at runtime: "MyColumnName(kg is not a DataColumn
or...". The field name is trimmed after ")".
Is anyone know how to reference to a field name with parentheses inside?
in ASP.NET 2.0 . When I write code as following:
<%# Eval("[MyColumnName(kg)]"%>
a exception will be thrown at runtime: "MyColumnName(kg is not a DataColumn
or...". The field name is trimmed after ")".
Is anyone know how to reference to a field name with parentheses inside?