摘要:
public static int ToInt32(string value){ { if(value == null) { return 0;}return int.parse( value,CultureInfo.CurrentCulture); }}当convent.toint32参数为null时,返回值为0!而如果int.parse()的参数为null则报异常! 阅读全文
posted @ 2013-05-21 09:21
Sky girl
阅读(125)
评论(0)
推荐(0)
浙公网安备 33010602011771号