Serialcoder en Français Serialcoder in English
TEL : +33 (0)9 72 13 15 17

Windows Forms FAQ resources

4. Windows Forms Data Binding

4.14 My SQL server runs on a non-default port. How can I specify this port in my connection string?


The data source component of your connection string should contain the port right after the IP address (or name). It should be separated from the IP by a comma.


data source=192.168.123.1, port number;


Take a look at this web site for great information on several connection strings.

http://www.connectionstrings.com/