2013-01-12 3 views
-1

다음 코드는 오류가 발생합니다;C# 오류가 구문 오류로 ','

는 사람이에 대한 통찰력을 제공 할 수 있습니다 ','

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); 

근처의 구문이 잘못?

답변

2

그것은 때문에 저장 프로 시저

dt = sFunctions.ExecuteQuery(Variables.con, "House_Machinery", 
    "usp_housemachinery_Master_insert " + Id 

나는 또한 당신이 이러한 유형의 문제 제거하기 위해 다음 방법을 고려해 제안 후 누락 된 공간이 될 수 있습니다

+0

오, 정말 고마워, 잘 했어. –

관련 문제