cmd.CommandText = "update dbo.diagnosis SET id=" + SetValueForText + "ss=" + sh;
wheresh和 columnss是 bool 数据类型,idandSetValueForText是 int 数据类型。异常是附近的无效语法ss。
cmd.CommandText = "update dbo.diagnosis SET id=" + SetValueForText + "ss=" + sh;
wheresh和 columnss是 bool 数据类型,idandSetValueForText是 int 数据类型。异常是附近的无效语法ss。