Subject: DataGridView: Cell BackColor
Posted By: kesar Post Date: 1/8/2007 7:19:42 AM
hi members,
i ve populated my datgrid with a datatable, say:
dg1.datasource = datatable1

also, i ve set the back color of few columns of all the rows in datagrid using:
dg1.rows(i).cells(j).style.backcolor = color.aqua

whenever the project runs and datagrid is populated for the first time
it works properly, i.e. it shows the aqua back color for the jth column in all the rows

but in the same build, if the datgrid is populated the second time
it doesnt shows the default back color............not the one i'd written code for (aqua)



Go to topic 54510

Return to index page 71
Return to index page 70
Return to index page 69
Return to index page 68
Return to index page 67
Return to index page 66
Return to index page 65
Return to index page 64
Return to index page 63
Return to index page 62