The invention provides a data updating method and
system for a view
list in a
list control. The method comprises an interface initialization stage and an interface updating stage. During the interface initialization stage, the filling of a
data source is carried out, namely, a first flag bit is added into a
data structure corresponding to each view
list item in the
data source, and the filled
data source is bound with a
data adapter; and the list control obtains the data source through the
data adapter, the view list of the corresponding list control is filled with the view list items in the data source, and a first view is drawn according to the view list of the list control. During the interface updating stage, when the
data structure is changed, the first flag bit of the
data structure is changed to a second flag bit, the view list of the list control obtains a data structure containing the second flag bit, and a corresponding view part of the data structure containing the second flag bit in the first view is drawn to obtain a second view. According to the data updating method and
system, only the list item view with the changed data is updated, so that the resource waste is avoided and the updating performance is greatly improved.