The embodiment of the invention provides a driving method of a display panel and the display panel, the display panel is provided with a display area and a light-transmitting area, the display panel comprises
data lines and a plurality of pixel circuits arranged in an array, and each column of pixel circuits is connected with one data line. The number of the pixel circuits connected with the
data lines corresponding to the light-transmitting area is smaller than that of the pixel circuits correspondingly connected with the
data lines corresponding to the display area, and the pixel circuits are located in the display area; the driving method comprises the steps that in a display period, preset data
voltage is transmitted to at least part of column data lines corresponding to at least part of row scanning periods in a light-transmitting area; wherein at least part of the lines include the last line of pixels corresponding to the light-transmitting area, and the preset data
voltage is non-black state
voltage. According to the scheme, the problem that a
bright line extending upwards is generated at the junction of the light-transmitting area and the display area is effectively solved, and the display effect is further improved.