Hi,
This is a good snippet:
dim strSQL as String = "INSERT INTO tbl_civil_works(orgcode, item_works, descr, qty_area, " & _
"units, rates, amount, timestamp_now) VALUES(" & intOrgCode & _
", '" & param(0) & "', '" & param(1) & "', '" & param(2) & "', '" & param(3) & _
"', " & intAmt & ", '" & DateNTime "')"
I fail to understand why it produces the "End of statement expected" error. What am I missing?
The following is the detailed error message:
i:\inetpub\wwwroot\ecsite\civilTEMP.aspx(69) : error BC30205: End of statement expected.
"', " & intAmt & ", '" & DateNTime "')"