How to use Remote SQL Database in VCSharp

Please let me know how to connect the sql server database of different network domain from my smart device.

I can connect to remote SQL database after I have configured the setting in Windows Mobile Device Center.
1. Connect the device to your PC
3. Open Windows Mobile Device Center
4. Click on Mobile Device Settings
5. Connection Settings.
6. Select ‘The Internet’ on the combo ‘This computer is connected to:’

Did you check this Microsoft Technet page: https://technet.microsoft.com/en-us/library/aa275613(v=sql.80).aspx ?