ExecuteReader() Question

ExecuteReader() Question

Old forum URL: forums.lhotka.net/forums/t/4015.aspx


RangerGuy posted on Monday, December 10, 2007

Hi There,

I've not been here in awhile (No need :) this framework rocks) We are still using 2.1.3.0

Anyways, I have something strange happening with null values. It seems that the rows from my stored proc are not being returned from the executereader method because some columns contain null values.

This is the line that calls the command object

using (SafeDataReader dr = new SafeDataReader(cm.ExecuteReader()))

I don't really understand why null values are preventing this from working. I thought that the SafeDataReader handled null values

Copyright (c) Marimer LLC