the following code is giving me an error;
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 ‘,’
can anyone give insight on this?
It might be because of a missing space after the Stored procedure
I would also suggest you consider the following techniques to eliminate this type of problem: