Insert binary data into SQL from c# without a stored procedure

后端 未结 3 1876
别跟我提以往
别跟我提以往 2021-01-13 05:03

Does anyone know whether if its possible to insert binary data into an SQL field from c# without using a stored procedure?

For example - convert a byte array into ba

3条回答
  •  北荒
    北荒 (楼主)
    2021-01-13 05:33

    Yes, I think you can do it with parameterised queries.

    Example found here: http://www.akadia.com/services/dotnet_read_write_blob.html

提交回复
热议问题