visual studio 2008 - .net c# datagridview populating with non database data/setup -


I have never used the DataGrid footage in any other scenario, where it is populating with a database so that suddenly My mind is empty ...

I have 10 tubes, each of which has 8 vertical posts, so I have 10 to 8 grids. In each of those slots there is an image in a folder (or not). How do I get a grid to reflect this information, draw a grid, check the folder and if the image is present then it should be given white and the colors are not red?

Sorry, if something looks weird, thanks, it is assumed that there are 10 columns in the DataGrade View 1 and you are called a method imageexists Accept texts, they should do the following:

  dataGridView1.AllowUserToAddRows = false; DataGridView1.ReadOnly = True; {DataGridViewRow row = New DataGridViewRow () for (line number index = 0; line indices & lt; 8; line indices ++); Row.CreateCells (dataGridView1); DataGridView1.Rows.Add (line); (If !!) is the imageexists (line index, cell index)) line (for int cellindex = 0; cellindex  

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -