public Boolean createTable(Table table) { Boolean resultado = false; string strQuery = table.ToString(); DataTable dtResult = new DataTable(); try { this.OpenConnection(); MySqlCommand cmdComando = new MySqlCommand(strQuery, this._oConnection); cmdComando.ExecuteNonQuery(); resultado = true; //Load the Results on the DataTable } catch (Exception ex) { this._oLogErrors.GuardarLog(IConstantes.TIPOCAPA.ACCESODATOS, this.GetType().ToString(), MethodInfo.GetCurrentMethod().Name, ex.Message, strQuery); } finally { this.CloseConnection(); } return resultado; }