Object tostring
Publicado por pablo (3 intervenciones) el 13/02/2007 16:48:29
Estoy intentando poner un if y me sale esto
Operator '!=' cannot be applied to operands of type 'string' and 'int'
no tengo muy claro como puedo pasar un object a string
Alguien me puede ayudar please
maxs = arrValue1y.GetValue(iPosArray).ToString();
if (maxs!=1341)
Operator '!=' cannot be applied to operands of type 'string' and 'int'
no tengo muy claro como puedo pasar un object a string
Alguien me puede ayudar please
maxs = arrValue1y.GetValue(iPosArray).ToString();
if (maxs!=1341)
Valora esta pregunta


0