请教关于TADOStoredProc如何使用的问题
我的方法是:
ado:ADOCOnnection
ado_sp:TADOStoredProc
ado_sp->Connection=ado;
ado_sp->ProcedureName = "mySQLproc";
ado_sp->Parameters->ParamByName("@S1")->Value = Edit1->Text;
ado_sp->Parameters->ParamByName("@S2")->Value = StrToInt(Edit2->Text);
ado_sp->ExecProc();
不清楚为何老是报错:ado_sp parameter @S1 not exists