联系我们

为客户提供超预期的高品质网站设计!

insert into 长语句

2017-11-5 0:00:00

 string strfac = string.Format(@"insert into cheLiangXinXi (name,faDongJiHao,cheJiaHao,cheZhu,changPaiXingHao,chuDengRiQi,laiYuan,caoZuoRiQi,userID,shouJi)
                             values('{0}','{1}','{2}','{3}','{4}','{5}','{6}','{7}','{8}','{9}') SELECT @@IDENTITY as ID",
                            chePai,faDongJiHao,cheJiaHao,suoYouRen,models,regDate,"查违章来源",DateTime.Now.ToString(),CookieHelper.GetCookieValue("c_userID").ToString(),shouJi);
                count = sqlhelper.cmdExecuteScalar(strfac);

上一条新闻:js判断上传控件FileUpload是否选择和文件类型
下一条新闻:防止SQL注入方法总结

 

400-6137-308 54057491 info@maolian.net