C# web Connection to database through web config error

My website won’t connect to the database. I am using SQL Server 2008 as database and I want to connect to it using webconfig.
I use a key inside AppSettings and put server name, database name, user id and password to the value of the key however it does not work.
I can assure you that all the values for the items above are correct so I don’t know why I am still getting this kind of error.
Please see image below for error details.
<appSettings>
<addkey="ConnectionString"value="server=Myserver;database=Mydatabase;Trusted_Connection = true;"/>
</appSettings>

An unexpected error has occurred.
Please see the details below:
Keyword not supported: 'userid'.
