' next create a command Dim CMD3 As New OleDb.OleDbCommand SQL = "insert into reciptdetails" "(Reciptid,Barcode,Itemcount,Itembuyprice,Itemsellprice)" "values" "(:0 ,:1 ,:2 ,:3 ,:4 )"
SQL = "insert into reciptdetails" + " (Reciptid,Barcode,Itemcount,Itembuyprice,Itemsellprice)" + " values" + " (:0 ,:1 ,:2 ,:3 ,:4 )"
Dim CMD3 As New OleDb.OleDbCommand Dim Sql As String Sql = "insert into reciptdetails" + "(Reciptid,Barcode,Itemcount,Itembuyprice,Itemsellprice)" + "values" + "(:0 ,:1 ,:2 ,:3 ,:4 )"
SQL = "insert into reciptdetails " + "(Reciptid,Barcode,Itemcount,Itembuyprice,Itemsellprice) " + "values " + "(:0 ,:1 ,:2 ,:3 ,:4 )"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)