class Program
    {
        static void Main(string[] args)
        {
            SqlConnection conn = 
              new SqlConnection(@"Data Source=(LocalDB)\v11.0");
            conn.Open();
            SqlCommand cmd = 
                   new SqlCommand("SELECT * FROM dbo.[Table];", conn);
            SqlDataReader dr = cmd.ExecuteReader();
            while (dr.Read())
            { 
              Console.WriteLine(dr["Name"]);
            }
            dr.Close();
            cmd.CommandText = 
                "INSERT INTO dbo.[Table](Name,Tel) VALUES('Inna',223);";
            cmd.ExecuteNonQuery();
            cmd.CommandText = 
                  "UPDATE dbo.[Table] SET Tel='225' WHERE Name='Inna';";
            cmd.ExecuteNonQuery();
            conn.Close();
        }
    }