Connection strings format as below
For Sql authentication
Data Source=MyPc\SQLEXPRESS;Initial Catalog=My_DB;uid=im;pwd=pwd;timeout=100000;
For Windows authentication
Data Source=MyPc\SQLEXPRESS;Initial Catalog=My_DB;Integrated Security=false;
Happy Coding!
:)