stirng转int可以用int.parse()或Convert.ToInt32()
001只是显示的格式,在内存中就是31个0后跟1,要格式化可以用string.Format("{0:D3}", 1);
http://home.cnblogs.com/q/4915/