.net c# datagridview populating with non database data/setup

Posted by flavour404 on Stack Overflow See other posts from Stack Overflow or by flavour404
Published on 2010-06-16T00:06:49Z Indexed on 2010/06/16 0:12 UTC
Read the original article Hit count: 156

Filed under:
|
|

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.

© Stack Overflow or respective owner

Related posts about c#

Related posts about visual-studio-2008