NETD2202 Week9 Demo - DataGridView Basics

preview_player
Показать описание
In this video, I will show students the extreme basics of the datagridview, using it's datasource property, and manually creating columns to tie them to a generic list of class objects and their properties.
I also show the use of the selectionchanged event and the gotchas involved inn the event being triggered in the runtime code, rather than by user interaction and how that needs to be handled from an error handling perspective. (not true error handling, but through awareness of what is happening).