::I'm reading an Access database and some fields have null values. If I use ::MyReader.GetString() I get a cast error. Then, simply, do not use GetString (), but GetObject (); And check against null. Do NOT set up a try/catch for this - VERY bad practice, for
performance and code size.
thona
Member
20 Points
2923 Posts
Re: Datareader and Access Null fields and Memos
Nov 27, 2004 07:12 PM|LINK