J
j.gibson
VS 2005
C#
ASP.NET
I have a Gridview which is filled from an objectdatasource. I have some
filtering - which works perfectly when the field to be filtered is an
INT.
dscIssues.FilterExpression += " and (assignedtoid = 1)" works ok
but if i filter on a string field is doesnt bring back any records
eg
dscIssues.FilterExpression += " and (name= 'tom')" fails
ive tried creating a FilterParamater as well, but it also fails
C#
ASP.NET
I have a Gridview which is filled from an objectdatasource. I have some
filtering - which works perfectly when the field to be filtered is an
INT.
dscIssues.FilterExpression += " and (assignedtoid = 1)" works ok
but if i filter on a string field is doesnt bring back any records
eg
dscIssues.FilterExpression += " and (name= 'tom')" fails
ive tried creating a FilterParamater as well, but it also fails