DataGridView Cannot Clear This List

IT Support Forum Forums Development C# Development C# Coding DataGridView Cannot Clear This List

This topic contains 0 replies, has 1 voice, and was last updated by  Webmaster 3 weeks, 3 days ago.

  • Author
    Posts
  • #2346

    Webmaster
    Keymaster

    Sometimes you get “Cannot clear this list” when trying to clear a DataGridView using the Clear() method. If you get Cannot clear this list, that’s typically because the DataGridView is connected to a datasource. Try clearing the datasource instead, or disconnect the datasource from the DataGridView.

You must be logged in to reply to this topic.