Re: 'True' could not be set on property

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"Göran Andersson" <guffa@xxxxxxxxx> wrote in message
news:uquKVbkCIHA.1056@xxxxxxxxxxxxxxxxxxxxxxx

But that will make the property always return true if there is a value in
view state, regardless of the actual value.

It seems like that's what the OP wants here since all he was doing in his
original code was casting the value to a Boolean. Wouldn't any value cause
the cast to result in True, but no value would cause False?


.



Relevant Pages

  • Re: Cannot compile with _FILE_OFFSET_BITS = 64
    ... Casting the first constant in above expression does ... regardless of which constant is evaluated first. ...
    (comp.lang.c)
  • Re: BigDisk project: du(1) 64bit clean.
    ... On Tue, 4 Jan 2005, Scott Long wrote: ... > Regardless of how big a pointer or a long is on your platform, ... Since the new member is <= in size to the previous ... I haven't checked the original code for ...
    (freebsd-arch)
  • Re: The weak Men of Europe
    ... Enemy at the Gates is regardless of casting a superb war movie. ... worth seeing if you haven't watched it yet. ...
    (soc.culture.irish)
  • Re: Generic Constraints Question
    ... With casting it will fail at runtime. ... You're absolutely correct - the cast does fail at run-time. ... method signature like this (similar to my original code except for the ... Private Sub LoadPanelServer ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Interesting std::replace_if problem
    ... > the original code: ... > sequence of CR's and LF's, regardless of its length, would be replaced ... John ...
    (microsoft.public.dotnet.languages.vc)