Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
generate invoice is up
  • Loading branch information
Jeremy Mill committed Dec 7, 2015
1 parent 5146755 commit 500f48e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TeamDBAwesome/TeamDBAwesome/SqlService/MySqlService.cs
Expand Up @@ -284,7 +284,7 @@ namespace TeamDBAwesome.SqlService
//now do the insert
string insert = "Insert into invoice (invoiceid, customerid, invoicedate, billingaddress, billingcity, billingstate, billingcountry, billingpostalcode, total, payid) " +
"VALUES " +
"(" + nextInvoice + "," + custId + "," + NowTime + "," + Address + "," + City + "," + State + "," + Country + "," + PostalCode + "," + total + "," + payId + ")";
"(" + nextInvoice + "," + custId + ",\"" + NowTime + "\",\"" + Address + "\",\"" + City + "\",\"" + State + "\",\"" + Country + "\",\"" + PostalCode + "\"," + total + "," + payId + ")";
cmd = new MySqlCommand(insert, SqlConn);
cmd.ExecuteNonQuery();

Expand Down

0 comments on commit 500f48e

Please sign in to comment.