Re: Help Needed to Unravel a Query Response
Posted by: Bob Anonymous
Date: August 18, 2014 08:59PM

Fernando,

Thank you very much! (The MySql documentation is really quite good, but I don't know my way around in it yet so it's not always easy to find what I need.)

For the benefit of others who may stumble across this thread ...

The "as MySum" and/or "as Description" seemed to introduce a syntax error which I could not figure out. But I dug around for just a few minutes in that excellent reference Fernando provided and came across this approach:

while (rdr.Read())
{
Console.WriteLine(rdr[0]+" -- "+rdr[1]);
}
rdr.Close();

(where rdr is a MySqlDataReader)

and that did the trick. I can now see the column values!

Fernando, thank you again. I am very grateful. Bob

Options: ReplyQuote


Subject
Written By
Posted
Re: Help Needed to Unravel a Query Response
August 18, 2014 08:59PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.