Use the name of your laptop as bellow
Data Source=myServerAddress;
or use the IP or your laptop:
Data Source=192.0.0.1,1433;
http://www.connectionstrings.com/ is a very good resource for understanding how .NET connection strings work.
Full connectionString:
<add name="ST" connectionString="Data Source=192.0.0.1\SQLEXPRESS;Initial Catalog=ST;Integrated Security=True" providerName="System.Data.SqlClient"/>
Without TrustedConnection
:
<add name="ST" connectionString="Data Source=192.0.0.1\SQLEXPRESS;Initial Catalog=ST;User Id=myUsername;Password=myPassword;" providerName="System.Data.SqlClient"/>
You replace Integrated Security=True
with User Id=myUsername;Password=myPassword;
.
In addition to this, as other answers have said, the server and laptop need to be configured to accept remote connections.