以下查询给了我一个不正确的语法错误
dt = sFunctions.ExecuteQuery(Variables.con, "House_Machinery", "usp_housemachinery_Master_insert" + Id + ",'" + txtItemName.Text + "'," + txthp.Text + "," + txtrate.Text + "," + Variables.sTendercode + "," + Variables.StrResourceHeaderCode);
sFunctions.setSqldbConnCommand_Close(sSqldbCommand);
错误如下:
incorrect syntax near ','
有人对我的问题的根源有任何见解吗?
它仍然有同样的错误。