Insert Firebird Database C#

前端 未结 2 647
眼角桃花
眼角桃花 2021-01-24 09:38
FbCommand fbCmm = 
      new FbCommand(\"INSERT INTO PRODUTO
                   (CODIGO,EAN,DESCRICAO,VAL_PRODUTO,VAL_CUSTO,CAT_PRECO)\" 
                   + \"Values (         


        
2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-24 10:10

    You should use quote for decimal, string field types, your statement is correct but not clear, you can create clear sql text with sql command builder or you can use Command object of your connection.

提交回复
热议问题