Use the directive
using System.Configuration;
OR
System.Configuration.ConfigurationManager.ConnectionStrings["sqlconnection"].ToString();
In either case, make sure you have the reference to System.Configuration dll.
(Add Reference->Assemblies->Framework->System.Configuration )