SqlDataReader GetBoolean from Calculated Resultset Field
Posted
by Jason Summers
on Stack Overflow
See other posts from Stack Overflow
or by Jason Summers
Published on 2010-06-06T18:08:04Z
Indexed on
2010/06/06
18:12 UTC
Read the original article
Hit count: 275
c#
|sqldatareader
Hi all,
I've got a field in my SQL SPROC resultset that is a calculated CASE statement that returns 1 or 0 (ie True/False).
When I try to use the GetBoolean method of the SqlDataReader class and exception gets thrown.
Any suggestions would be appreciated.
© Stack Overflow or respective owner