 |
By (user no longer on site) OP
over a year ago
|
I have a database query that returns just one record.
This line returns true -
if (reader.HasRows)
But then it gets to this line, and just skips over it as if there is no data.
while (reader.Read()) {...
Can anyone help before I end up hurling my laptop into space?
|
Reply privately, Reply in forum +quote
or View forums list | |
Not much to go on there sorry.
What language are you using? I'm guessing C# and I'm also guessing this is an SQL database query and reader is a SqlDataReader?
Feel free to DM me about it if you like. |
Reply privately, Reply in forum +quote
or View forums list | |
» Add a new message to this topic