标签: c# mysql
我从MySQL数据库中获取类型image的数据并将其转换为字节数组。
image
我不知道如何处理它。
我试过了
byte[] b = (byte[])(sr1.image);
那并不成功。如何将image转换为byte[]?
byte[]
答案 0 :(得分:0)
QueryResponse<>
请使用此代码。