TCS emerged as the biggest gainers in the share market along with Mukesh Ambani's Reliance Industries.