string was not recognized as the valid boolean

Posted by mazhar on Stack Overflow See other posts from Stack Overflow or by mazhar
Published on 2010-05-15T11:20:52Z Indexed on 2010/05/15 11:24 UTC
Read the original article Hit count: 490

Filed under:
|

FeatureEvents.bit_Activate = Convert.ToBoolean(collection["bit_Activate"]);

bit_Activate is checkbox ,how would i convert it to boolean above,collection is coming from the formcollection variable

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-mvc