Cannot convert from string exception

Posted by swetha on Stack Overflow See other posts from Stack Overflow or by swetha
Published on 2010-05-18T03:58:19Z Indexed on 2010/05/18 4:00 UTC
Read the original article Hit count: 469

Filed under:

I got an exception sayin, CollectionConverter cannot convert from System.String.

sample piece of code :

TypeConverter type1 = TypeDescriptor.GetConverter(somemethodtype); Obj = typeConvert.ConvertFromString(result["xxx"].ToString());

can someone tell me y i get dis exception and how to resolve?

© Stack Overflow or respective owner

Related posts about c#