hey! Spotted some errors with your code. But I’ve modified it. Hope it helps
grid.PaintCell += delegate(object sender, PaintCellEventArgs e)...
You are welcome to .Net. the easiest way you can set format is by following the code below.
Separate names with a comma.