最后一行不对,应该是 string.Format("insert into ... values '{0}', '{1}', '{2}', '{3}')", yonghuming, zzmc, zzlx, zzjg);
你要调试下,看看是变量值根本就没拿到,还是没存进数据库