The differential quadrature method has lately been more and more often used for analysis of engineering problems as an alternative for the finite element method or finite difference method. In this paper, static, dynamic and buckling analyses of structural components are performed by the differential quadrature method. To improve the accuracy of this method, an approach is proposed for selecting the sampling points which include base points and conditional points. The base points are taken as the roots of the Legendre polynomials. Accuracy of the problems analyzed will be increased by using the base points. The conditional points are determinedaccording to boundary conditions and specified conditions of external load. A modified algorithm is proposed for applying two or more boundary conditions in a sampling point at boundary of domain, such that the higher-order partial differential equation can be solved without adding new sampling points. By applying this approach to variety problems, such as deflections of beam under nonuniformly distributed loading, vibration and buckling analyses of beam and plate, it is found that numerical results of the present approach are more accurate than those obtained by the equally-spaced differential quadrature method and is computationally efficient.