DBServiceHelper.ExecuteDataSet(this.Context, sql)) 返回数据问题
2,619次浏览
编辑于2013年08月28日 16:46:43
int sQty = 0;
string sql = string.Format(@" Select FMATERIALID ,FBASEUNITID ,FAUXPROPID ,FLOT,FSTOCKID ,FBASEQTY FStockQty,FSECQTY FStockUnitQty," +
" FBASEQTY FLockQty,FSECQTY FLockUnitQty,FBASEQTY FUseQty,FSECQTY FUseUnitQty from T_STK_INVENTORY " +
" Where FBASEQTY>{0}", sQty);
using (DataSet ds = DBServiceHelper.ExecuteDataSet(this.Context, sql))
为何无论WHERE 条件是什么总返回15行数据?
推荐阅读