Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Storing a bit array to a sql table?
Message
De
13/04/2004 12:53:47
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Storing a bit array to a sql table?
Divers
Thread ID:
00894483
Message ID:
00894483
Vues:
231
Ok all you C# MVPs and pseudo MVPs...

How would you store a bitarray in sql server, in the most compact way possible?

1. What sql server data type?
2. How would you get the BitArray into that datatype and out?

I was thinking I could just do a ToString() whould would give me a hexadecimal representation of the bits, but it just returns System.Collections.BitArray. Argh!!

I'm assuming I can store 8000 bits in 1000 bytes? Yes/No? Can I do better?

HELP!!!

Thanks,
BOb
Répondre
Fil
Voir

Click here to load this message in the networking platform