SqlConnection conn = new SqlConnection("Data Source=<machine-name>;
initial catalog=<database-name> ; User ID=<***>;Password=<***>");
SqlConnection conn = new SqlConnection("Data Source=<machine-name>;
database=<database-name> ; User ID=<***>;Password=<***>");
Both of these lines are okay and are running fine but what is the difference between initial catalog and databasename while writing connectionstring ??
what does initial catalog means ??
Please enlightened me on this thing. I am new to dotnet.
Thank you