推 KENyroj:int.Parse(a.ToString()); ?? 09/19 16:03
→ KENyroj:不然就用 TryParse 吧... 用法 MSDN 找一下 09/19 16:04
→ horngsh:也可用 int x = a as int再判斷X是不是NULL就可以了.... 09/19 16:50
推 EricTsai:int哪來的null值? 09/23 13:24
推 leicheong:.NET v2.0有支援nullable int datatype哦... :P 09/25 14:15
→ leicheong:不過上面那情況應該是用primitive int吧... :P 09/25 14:19