South Africa 169 for 4 (De Kock 44, de Villiers 40) beat Bangladesh 138 (Sarkar 37, Leie 3-16, Abbott 3-20, Phangiso 3-30) by 31 runs
Scorecard and ball-by-ball details
By the Numbers - Spin does the trick for SA
By the Numbers - Spin does the trick for South Africa
After South Africa's fast bowlers chiseled out their win in the first match, their batsmen and spinners crafted victory in the second to ensure a comprehensive series win over Bangladesh in their first preparatory outing for the World T20.
Quinton de Kock and AB de Villiers' opening stand of 95, propped up by two middle-order partnerships in the 30s set up a total of 169 before debutant Eddie Leie stole the headlines with the best figures by a South African on T20 debut and shared six wickets with Aaron Phangiso to give the selectors another option for the future.
South Africa had the better of challenging conditions, as Bangladesh's plan to make homeground advantage count backfired on them. On a slow surface which offered significant turn, it became harder to bat as the match progressed, so that not even an improved batting performance from the hosts could see them salvage something from the contest.
Evidence of turn and bounce appeared in the first over when Arafat Sunny surprised de Villiers with a delivery that spun square, kicked up dust and beat the bat. But the next ball went straight on and de Villiers' hung back to produce a delicate late cut and begun to take control of the opening exchange.
Nasir Hossain's six wides in his first over and de Kock's aggression against Sunny ensured South Africa had already wrested the advantage by the time Bangladesh brought on their first seamer in the fourth over. Mustafizur Rahman immediately opted for the offcutter to match the conditions but South Africa were wise to his plan. He also offered width, which de Villiers could not resist, and by the time the Powerplay ended, South Africa's 50 was on the board.
With de Kock and de Villiers playing confidently against both spin and seam - their footwork was a hallmark of their partnership - Bangladesh were staring at conceding more than 200 until de Kock misplaced one. He was trying to dig Sunny out over midwicket but did not find the gap and was caught by Sabbir Rahman.
That sparked a mini-collapse through which Bangladesh dragged themselves back into the game. JP Duminy gave himself no time to get his eye in and immediately tried to sweep Nasir but got a leading edge and on the next ball, de Villiers was caught behind trying to guide the ball down to fine leg.
South Africa had lost three wickets for seven runs in seven balls and their plight could have worsened when Nasir and Mushfiqur Rahim appealed for caught-behind off David Miller. There was no conclusive evidence of an edge on replays and with no DRS, Miller survived.
Faf du Plessis and Miller managed just 33 from the next six overs as it became clear run-scoring was becoming more difficult. The lack of pace in the pitch meant the batsmen were occasionally playing too early and premeditated strokes were not paying off.
Bangladesh's lethargic fielding helped push the total along and Miller and Rilee Rossouw ensured a strong finish. They plundered 32 off the last two overs to give Bangladesh a tough task.
Instead of the aggressive approach they employed in the first match, Bangladesh's openers were more watchful and it served them well. They were able to capitalise on width - which both Kyle Abbott and Wayne Parnell provided - and anything too short - where David Wiese sometimes erred - to provide a solid start.
But just as it seemed Bangladesh would put up a stern challenge, Tamim Iqbal was swung at a short, slow ball from Parnell, it went straight up and Wiese took the catch. In the next over, Leie's first as an international cricketer, he deceived Soumya Sarkar with flight and had him stumped.
Bangladesh used the next three overs to regroup but instead of absorbing pressure, they were consumed by it. Their next four wickets fell for 13 runs - Shakib Al Hasan holed out to Phangiso's first ball, Sabbir slogged Leie to midwicket before Mushfiqur attacked a low full toss only to find a leaping Rossouw at short cover and Nasir sent Phangiso into long-off's hands - to leave them 82 for 6.
Abbott's yorkers finished off the tail but not before Bangladesh pushed their total over 100, which they did not manage in the first game. Still, they would not have been pleased with the way they folded, especially after their recent record at home, and will aim to put that right in the ODIs.

Firdose Moonda is ESPNcricinfo's South Africa correspondent