You got me there. Let me rephrase: Capitalism ended child labour in capitalist nations. Bangladesh doesnt have capitalism. Capitalism is a political-economic system, not a description of corporations operating in countries with low wages.
This seems like a 'no true Scotsman' argument, or whatever other fallacy. You've defined capitalism as an economic system that ends child labour, and then decided that a country with child labour isn't capitalist.
I say, no Villa fan hits another fan with a chair. Next day, there's a riot, and a Villa fan hits another fan with a chair. I say, well, no true Villa fan hits someone with a chair.
You say, no capitalist country exploits child labour, indeed capitalism solves it. Someone provides an example of a capitalist country with child labour. You say, well, that country's not really capitalist.
In what way is Bangladesh not a capitalist country? It has a market economy. Here are some relevant quotes from Wiki 'Economy of Bangladesh':
"According to a recent opinion poll, Bangladesh has the second most pro-capitalist population in the developing world . . . Beginning in late 1975, the government gradually gave greater scope to private sector participation in the economy, a pattern that has continued. Many state-owned enterprises have been privatized, like banking, telecommunication, aviation, media, and jute . . . In the mid-1980s, there were encouraging signs of progress. Economic policies aimed at encouraging private enterprise and investment, privatizing public industries, reinstating budgetary discipline, and liberalizing the import regime were accelerated."
Does it sound like a communist country?
Bangladesh is, as is every other country on the planet, except north korea, a mixed-economy. It is far from capitalist. According to the Heritage list of countries by economic freedom, Bangladesh is number 131, in the ''mostly unfree'' bracket (http://www.heritage.org/index/ranking).
One major reason for the recent economic growth in Bangladesh is the introduction of micro finance, started by the Grameen bank. To me micro finance is a brilliant example of capitalism mixed with compassion. The Grameen bank helped millions of bangladeshi (women in particular) and made Muhammad Yunus very rich.