In a book about analytic number theory, I found two lemmas about partial summation. The first one is the discrete version of partial summation (See http://en.wikipedia.org/wiki/Summation_by_parts) which has a simple proof. However the book also mentioned an integral version of partial summation which states:
Let $h(x)$ be a continuously differentiable function. Let $A(x)=\sum_{n\leq x} a_n$. Then $$\sum_{n\leq x} a_n h(n) = A(x)h(x)-\int_1^xA(u)h'(u)du.$$
The proof of this theorem is left as an exercise but I really have no clue how to start.
Hmm.. so $A$ is a step function which is constant on each interval $[n,n+1]$, you can just use the Fundamental Theorem on $h$, so that integral will give you a difference of $h$ at the two end-points times a constant. Then it really should resemble the summation by parts formula you already know. Also note the last interval is not the same length $[ \lfloor x \rfloor , x ]$.