c#提示“insert into”语法错误,求解
stringordernum,stringsnum,stringstate,stringtime,stringprocesscontinue,stringprocesst...
string ordernum,string snum,string state,string time,string processcontinue,string processtype,string backtime,string rework,string recover
。。。
string sql = string.Format("insert into tableinfo(ordernum, snum, state, time, processcontinue, processtype, backtime, rework, recover) values('{0}','{1}','{2}','{3}','{4}','{5}','{6}','{7}','{8}')", ordernum, snum, state, time, processcontinue, processtype, backtime, rework, recover); 展开
。。。
string sql = string.Format("insert into tableinfo(ordernum, snum, state, time, processcontinue, processtype, backtime, rework, recover) values('{0}','{1}','{2}','{3}','{4}','{5}','{6}','{7}','{8}')", ordernum, snum, state, time, processcontinue, processtype, backtime, rework, recover); 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询