Hey dude, you can buy/sell shares online through various Onlile trading accounts like Sharekhan, Canmoney, ICICI direct, Indiabull etc. But, First of all, you need to have a Savings and Demat account.
Hope ur query is clarified.
Regards,
Sangfroid22.