Operands of type Object used for '&'; runtime errors could occur

Duisburg

New Member
When I set my code behind as "STRICT" (Option Strict On), I get the following error: Operands of type Object used for '&'; runtime errors could occur. Here's the problematic line:\[code\]dataSet.Sort = CType(ViewState("sortExp") & DESCENDING, String)\[/code\]Just wanted to know what's wrong.Thanks
 
Back
Top