Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing binary data into database
Message
 
 
À
12/04/2016 00:37:06
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 5.0
OS:
Windows 10
Database:
MS SQL Server
Divers
Thread ID:
01634652
Message ID:
01634702
Vues:
27
>I'm not going to dig in that code
>
>(1) Is the field binary in the database ? and how is it stored
>
>(2) If yes, you have to convert it to a byte[] array and maybe convert the \x?? into one byte at a time

The field is varbinary(max) in the database.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform