Is there a difference between DataTable.Clear and DataTable.Rows.Clear?

后端 未结 7 1570
天涯浪人
天涯浪人 2021-01-18 06:51

I recall there is a difference between some methods/properties called directly on the DataTable class, and the identically named methods/properties on the DataTable.Rows pro

7条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-18 07:31

    The both do the same thing. One is just an inherited method from the Collections class. And the Table.Clear() just calls that method.

提交回复
热议问题