What should my connection string be when connecting database in my computer?
I want to connect to a database in my computer i googled and found a sample. Here it is;
Data Source=.\SQLEXPRESS;database=FACTORY;trusted_connection=yes
but i don't use sqlexpress to create database i have used visual studio 2010 so what should my connection string be? (Especially Data Source part) Thanks
What should my connection string be when connecting database in my computer?
===

I want to connect to a database in my computer i googled and found a sample. Here it is;
Data Source=.\SQLEXPRESS;database=FACTORY;trusted_connection=yes
but i don't use sqlexpress to create database i have used visual studio 2010 so what should my connection string be? (Especially Data Source part) Thanks