Unfortunately, the connectors are different and they are not cross-compatible.
It may be possible to put the A1150 connector on the A1226 fan, but you would have to do some research and check the voltages on each fan. I don't recommend changing the connectors as you may end up shorting out your logic board.
You can find replacement A1150 fans [http://www.ifixit.com/Mac-Parts/MacBook-Pro-15%22-Model-A1150#0-Fans|here].