|
DBPrepareSQL (g_DBC_Handle,"DELETE FROM table WHERE Module_Name = ? AND Serial_Number = ? AND Test_Type = ?");
DBCreateParamChar (g_Statement_Handle, "Module_Name", ARAM_INPUT, Value_Module_Name, 20);
DBCreateParamChar (g_Statement_Handle, "Serial_Number", ARAM_INPUT, Value_Serial_Number, 40);
DBCreateParamChar (g_Statement_Handle, "Test_Type",DB_PARAM_INPUT, Value_Test_Type, 20);
DBExecutePreparedSQL (g_DBC_Handle);
DBClosePreparedSQL (g_DBC_Handle);
每次点删除按钮的时候只能删除一条记录,退出界面之后,再重新进入面又可删除一条,请问下,这个是什么原因啊???? |
|