The post you referenced also mentions how to re-point the connection string. By default, ASP.NET has defined a connection string named "LocalSqlServer" in your machine.config, so in your web.config you must first remove the existing one, and then add your own. Something like this:
<connectionStrings>
<remove name="LocalSqlServer" />
<add name="LocalSqlServer" connectionString="data source=.;Integrated Security=SSPI;Initial Catalog=aspnetdb;" providerName="System.Data.SqlClient"/>
</connectionStrings>
You'll probably need to change the data source and Initial Catalog, and add a user id and password if using SQL security.
If the connectionStrings element isn't in your web.config yet, add it anywhere after any configSections defintions.