Since China is right next to India, you can fly to Shanghai from almost all international airports. Lufthansa, Air India, Jet Airways, Thai Airways, China Eastern and many other airlines provide flights connecting Shanghai with India. However, direct flights leave only from New Delhi, with China Eastern and Air India providing direct options. Many connecting flights from Mumbai, Bengaluru, Chennai and other Indian cities actually stop over in New Delhi for change.
Shanghai has two airports, the Pudong and the Hongqiao. The Pudong airport is the main international airport and the Hongqiao handles most of the domestic flights, though some domestic flights also operate from Pudong. Shanghai is connected to every continent in the world and hundreds of cities. All global airlines such as the Qatar Airways, Etihad, Thai, Lufthansa, Cathay Pacific, Emirates and also many national Chinese airlines run hundreds of routes every day.
Nearby cities are well connected via highways into Shanghai. Huangshou, Suzhou, Nanjing and other cities are all within 3 hours of Shanghai or just a little more.
Rail connectivity throughout China's major cities is remarkable. Super fast bullet trains connect Shanghai to all the major cities around such as Suzhou, Huangzhou, Huangshan, Yangzhou and many others. These rail lines originate from 4 major train stations in Shanghai. Of course, these trains run many longer routes as well such as express routes to Hong Kong and Beijing.
Commuting via bus to and from Shanghai is very convenient as well, with 6 bus stations in and around the main city. However, it is advised that you use the train wherever possible.
Ferry services connect Shanghai with Hong Kong and the Japanese cities of Osaka and Kobe.