TCS rises on prospects for market share gain