[問題] 關於在sql 語法中含有binary條件
因為在資料庫中有欄位的資料型態是屬於varbinary
可是在C#這邊如果用
byte[] b = ....
sqlcommand aaa= new sqlcommand ("Insert into TableA (column1) Values (" + b.toString() + ")",conn)
都會存成是system.byte() ...
請問要怎樣下語法才正確呢?
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.18.225
推
02/02 22:46, , 1F
02/02 22:46, 1F
→
02/03 02:33, , 2F
02/03 02:33, 2F