Related Documentation Download this Manual Excerpts from this Manual


This page has moved or been replaced. The new page is located here:

Please update any bookmarks that point to the old page.

Download this Manual
User Comments
  Posted by Erik Pratchenko on March 27, 2012
Don't forget to open the connection before cmd (like I did [:-D]).

MySqlConnection cnx = new MySqlConnection(cnnString);


MySqlCommand cmd = new MySqlCommand(cmdText, cnx);
cmd.CommandType = CommandType.Text;

MySqlDataReader reader = cmd.ExecuteReader();

//some code that gets the info from the reader...


Sign Up Login You must be logged in to post a comment.