Consider a problem typical of those in calculus textbooks, namely finding the flux of the vector field $\FF=z\,\zhat$ up through the part of the plane $x+y+z=1$ lying in the first octant. We begin with the infinitesimal vector displacement in rectangular coordinates in 3 dimensions, namely \begin{equation} d\rr = dx\,\xhat + dy\,\yhat + dz\,\zhat \end{equation} A natural choice of curves in this surface is given by setting $y$ or $x$ constant, so that $dy=0$ or $dx=0$: \begin{eqnarray} d\rr_1 &=& dx\,\xhat + dz\,\zhat = (\xhat-\zhat)\,dx \\ d\rr_2 &=& dy\,\yhat + dz\,\zhat = (\yhat-\zhat)\,dy \end{eqnarray} where we have used what we know (the equation of the plane) to determine each expression in terms of a single parameter. The surface element is thus \begin{equation} d\SS = d\rr_1\times d\rr_2 = (\xhat+\yhat+\zhat)\,dx\,dy \label{triangle} \end{equation} and the flux becomes 1) \begin{equation} \Sint \FF\cdot d\SS = \Sint z \>dA = \int_0^1 \int_0^{1-y} (1-x-y) \,dx\,dy =\frac16 \end{equation} Just as for line integrals, there is a rule of thumb which tells you when to stop using what you know to compute surface integrals: Don't start integrating until the integral is expressed in terms of two parameters, and the limits in terms of those parameters have been determined. Surfaces are two-dimensional!
The limits were chosen by visualizing the projection of the surface into the $xy$-plane, which is a triangle bounded by the $x$-axis, the $y$-axis, and the line whose equation is $x+y=1$. Note that this latter equation is obtained from the equation of the surface by using what we know, namely that $z=0$.