Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving images, etc. to SQL Server Column
Message
 
To
04/08/2004 08:15:23
Bill Benton
North Florida Software Services
Middleburg, Florida, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00923304
Message ID:
00930657
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform