i took this code from msdn
string connString = \"Data Source=localhost;Integrated Security=SSPI;Initial Catalog=Northwind;\";
using (SqlConnection conn
You don't NEED to use a using statement, but it is good practice and you SHOULD use it. It allows objects using IDisposable to be disposed of automatically.
http://msdn.microsoft.com/en-us/library/yh598w02(VS.80).aspx
Edited to add link and remove inaccurate statement because @John Saunders is right.