Author: cykill | Posted on: 9/17/2009 5:34:22 PM | Views : 507

I have the code below where it doesn't return data whenever I close the database connection.  But if I remove the this.conn.Close() command, datareader has the value.  What am I doing wrong here?  Thanks.





MySqlDataReader dr = null;
MysqlConnection conn = new MysqlConnection();


private MySqlDataReader getMyFTPSites(
        {
            try
            {
                string connect_string = "string_here";
                string query = "Select....";
                this.conn = new MySqlC ...

Go to the complete details ...