BackColor of datagridview cells?

Hi I still have a problem with the backcolor of the datagridview and updating it.
I had a problem with the height before that didn't update but I solved it by setting the rowtemplate.Heigt instead of setting each rowheight.
I realize that I didn't solve the update prblem I had but I was still glad.

I now have a problem with setting teh backcolor of a certain cell in the datagridview.

I first att the datatable to the datagridview by typing

myDataGridView.DataSource = dt;
and then later on in the code I try the following:

myDataGridView.Rows[i].Cells[k].Style.BackColor = Color.DeepSkyBlue;

where i and k are integers 1 and 2.
I have this code in a function and calls it when the application is started.
The cellColor won't update then but if I then press a button in my aplication and call the same function the cell color is updated, it seems that I have to force the form to update the grid somehow.
When interacting with the application something more seems to happen then just calling my function but I cannot understand what to do to get the datagrid to update. Can someone please tell me what I am doing wrong?
[1205 byte] By [Tobbis] at [2007-11-20 11:50:08]