Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UDT in DataColumn
Message
De
05/09/2007 11:06:21
 
 
À
31/08/2007 12:39:43
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01251752
Message ID:
01252438
Vues:
20
Hi Viv,

I'm sorry I don't have an answer for you, but I wondered if you got this all figured out yet.

I don't use DataReaders, so without actually playing with this a bit myself, I didn't want to take a stab at the answer (I hate being wrong <g>). I've been way too busy to do any playing though.

~~Bonnie



>Hi,
>
>I'm looking at using .NET UDTs in SQLSERVER. The twist is that we need to construct a .NET DataTable on the fly and then add them in using a DataReader. I can query the DB for the UDT type and set the relevant properties when I create the DataColumn but I'm not sure whether this will let me populate the row without casting using something like: DataRow["ColumnName"] = dr["Data"]
>
>Won't work on this till Monday so maybe someone will let me know if I'm going to be wasting by time before then......
>
>Regards,
>Viv
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform