.net c# datagridview populating with non database data/setup
- by flavour404
Hi,
I have never used the datagridview in any other scenario other than one where it is populating by a database so suddenly my mind goes blank...
I have 10 tubes, each with 8 vertical positions within it, so I have a 10 by 8 grid basically. Each has of those slots has (or not) an image in a folder. How do I get a datagridview to reflect this information, draw a grid, check the folder and if the image exists paint it white, and if not paint it red?
Sorry it if sounds a little odd, thanks, R.