A holding apparatus has a main body, a longitudinal clamping member, and second and third clamping members. The first clamping member is slidably disposed on the main body, and the first clamping member has at least one pair of slanted sliding-tracks. The transverse clamping members are slidably disposed on the main body each having at least one sliding element slidably coupled to the slanted sliding-track of the longitudinal clamping member.