在ACCESS转SQL,这样一句怎么改
UpCom.Parameters.Add(new OleDbParameter( "@YXStat1 ", OleDbType.SmallInt));
------解决方案--------------------------------------------------------
UpCom.Parameters.Add(new OleDbParameter( "@YXStat1 ", OleDbType.SmallInt));
new SqlParameter( "@YXStat1 ",SqlDbType.Int);