Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving images, etc. to SQL Server Column
Message
 
À
04/08/2004 08:15:23
Bill Benton
North Florida Software Services
Middleburg, Floride, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00923304
Message ID:
00930657
Vues:
22
Bill,

>I am finally trying to implement the above code. I have converted it to C# using a third-party utility, but it keeps crashing on:
>dsItem.Tables(0).Rows(0).Item("ItemPhoto")

Carl's right! VB .NET uses parens and C# uses square brackets like this:
dsItem.Tables[0].Rows[0].Item["ItemPhoto"];
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform