日期:2014-05-18  浏览次数:20402 次

散分了!
string   city   =   this.txtCity.Text.ToString();

"insert   into   Infodepartment(城市名称)   values(次处我想用city的值,我该怎么写?)) "
谢谢!




------解决方案--------------------
"insert into Infodepartment(城市名称) values( ' "+city+ " ') "