What if you use intermediary variables to carry the data?

String MPT11 = "";
...
MPT11 = (row["MPT11"] == -777) ? "null" : row["MPT11"].ToString();
...
rowList.Add(... , MPT11, ...);

On Tuesday, March 5, 2013 2:59:34 PM UTC-5, Matevz Uros Pavlic wrote:
>
> I tried that before, but it doesn't work. I get this error :
> *
> *
> *
> *
> * *System.FormatException: Input string was not in a correct format.
>
> m
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to