FabSwingers.com mobile

Already registered?
Login here

Back to forum list
Back to The Lounge

Any programmers on here? I need help

Jump to newest
 

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 privatelyReply in forumReply +quote
 
 

By *ockosaurusMan
over a year ago

Warwick

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 privatelyReply in forumReply +quote
Post new Message to Thread
back to top