首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

散分了!该如何解决

2012-01-19 
散分了!stringcitythis.txtCity.Text.ToString()insertintoInfodepartment(城市名称)values(次处我想用

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

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




[解决办法]
"insert into Infodepartment(城市名称) values( ' "+city+ " ') "

热点排行