Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Testing for Null values with a DataReader
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00948865
Message ID:
00948921
Views:
12
Bonnie,

No, you are correct, I should use the SqlDataReader. Thanks!

Kind Regards,

Mat

>
>>System.Data.IDataReader does not contain a definition for Item
>
>That's because you're using the Interface (IDataReader) rather than OleDbDataReader or SqlDataReader (sorry, I didn't notice that in your original post). It seems strange that they wouldn't have the Item property in the Interface, but it doesn't look like it's there. Do you need to use IDataReader or can you use either the OleDb or Sql DataReader?
>
>~~Bonnie
>
>
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Previous
Reply
Map
View

Click here to load this message in the networking platform