Prove $\displaystyle \int_{C}fdr=\int_{S}dS\times\nabla f$. where $C=\partial S$ and the usual relationship between orientations hold.
Apply Stokes's theorem to $F=af$ where $a$ is an arbitrary constant vector.
From this identity and because $\nabla \times \mathbf{a = 0 }, $ thus $ \nabla\times F=0 + \nabla f \times a$.
Thus $(\nabla\times F)\cdot d\mathbf{ S }= (\nabla f \times a) \cdot d\mathbf{ S } = (d\mathbf{ S }\times \nabla f) \cdot a $, thanks to the answer below.
Then Stokes's theorem for arbitrary a implies $ \int_{C}f \mathbf{ a } \; d\mathbf{ r } = \iint_S (d\mathbf{ S }\times \nabla f) \cdot a $.
My concern: How do I proceed from here? Please explain steps in detail?