R
relaxory
If I'm doing a select WHERE' searching for a string... What is the best
way to condition a response based on whether the datareader contains
data or not?
while (myReader.Read()) {
if myReader.GetInt32(0) = 0
..
Something like that? Isn't there something that can return a bool?
Cheers
way to condition a response based on whether the datareader contains
data or not?
while (myReader.Read()) {
if myReader.GetInt32(0) = 0
..
Something like that? Isn't there something that can return a bool?
Cheers