C
cnnoah
Unregistered / Unconfirmed
GUEST, unregistred user!
参数V1为字符型,现在想把它转换为整型,以实现如下代码:
ADODataSet1.CommandText:='select * from txcs where ZBSD='+P1;
ZBSD为数值型(整型),我怎么把P1的值传递给ZBSD呢?
ADODataSet1.CommandText:='select * from txcs where ZBSD='+P1;
ZBSD为数值型(整型),我怎么把P1的值传递给ZBSD呢?