表中是否有重复值
正在学习C中,请问下面这段话,哪里有问题,怎么获取的res值,不论是否有重复值,都是-1string sql = "select count(Fbarcode) as fcount from T_XBXX where Fbarcode='" + txtbac.Text + "'";
int res = SQLSERVERUtil.ExecuteSQL(sql);
谢谢
2021-09-15 11:56
2021-09-15 16:28
2021-09-15 17:06
2021-09-16 08:12