SQL语句如何带参数!
SchDataSet->Active=false;
SchDataSet->CommandText="select * From SchMainTable Where EmpID ='"+empID+"';
SchDataSet->Active=true;
EmpID字段是长整形的。
empID是long型的!
不知道这样可不可以!
还有!
我用的是access2000的数据库!
谢谢了!
SchDataSet->CommandText="select * From SchMainTable Where EmpID ='"+empID+"';
SchDataSet->Active=true;
EmpID字段是长整形的。
empID是long型的!
不知道这样可不可以!
还有!
我用的是access2000的数据库!
谢谢了!
...全文


数据库及相关技术
