我得到了错误:
InvalidCastException was unhandled by user code
Conversion from string "UNITID, INSTNM, ADDR, CITY, STAB" to type Integer is not valid.
jcolebrand edited to link to a gist because the code is REALLY long, feel free to fork: https://gist.github.com/2788975
文件是进入 SQL 数据库的.csv 。