I have installed the vs2010 and now I am using the "SQLEXPRESS" for connecting to a database, but now I want to use the sqlserver 2008 directy not SQLEXPRESS; for more explanation:
The sql express has this connection string(for example):(and I dont want to use it!)
connection.ConnectionString = @"Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\EHSAN\Documents\Visual Studio 2010\Projects\hokm\hokm\App_Data\database1.mdf;Integrated Security=True;User Instance=True";
But I want to use this command(for ex):
Server=localhost;Database=xxx;User " +"ID=xx;Password=xxxx;
And I dont know how should I make a database witch want this connection string!