Re: Looking for Sample Code for displaying row entries
Posted by: Reggie Burnett
Date: December 08, 2004 02:40PM

myConnection.Open();

MySqlDataReader reader = myCommand.ExecuteReader();
while (reader.Read())
{
object col1 = reader.GetValue(0);
object col2 = reader.GetValue(1);
}
reader.Close();

myCommand.Connection.Close();

Hope this helps,

Options: ReplyQuote


Subject
Written By
Posted
Re: Looking for Sample Code for displaying row entries
December 08, 2004 02:40PM


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.