Skip to content

DO NOT use cells for data access when using a datagridview

License

Notifications You must be signed in to change notification settings

VBDev2Dev/NOCELLS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOCELLS

DO NOT use cells for data access when using a datagridview.

Use

  1. Debug project
  2. Click generate people to generate fake data
  3. Click the other buttons and look at the Immediate window in visual studio
  4. Double click on any row header
  5. Try selecting multiple rows and clicking the Get Selected Info or Missing Columns buttons.

Things to note:

  • I only added some of the columns that link to properties on the Person class. If I were to use cell access code, I could only access the values in the properties that are in the columns
  • See how double clicking a row header lets me read some data that is not in the columns.
  • Notice how changing the data updates the grid ( Change Color button)

NEVER EVER EVER use cells to get data from a datagridview, EVER!!!!!!!!!!

About

DO NOT use cells for data access when using a datagridview

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published