Monday, 13 April 2015

Windows 7 & 8 - Black Screen With Cursor at Start-up FIX

If the Operating System (Windows 7 or 8) load correctly but shows only a black screen with a cursor, this video may be helpful to you to solve your problem


Thanks Youtube

Monday, 6 April 2015

DataGridView changing cell background color

To change the cell background color in a Datagridview in a windows application we want to use the following
we have a datagridview with an Id of "dgvStatus".
First bind the datagridview while binding use the following code to change the cell backgroundcolor

//background color of cells

dgvStatus.DefaultCellStyle.BackColor = Color.FromArgb(255, 192, 128);

//dgvStatus.DefaultCellStyle.BackColor = Color.FromArgb(value of Red, value of Green, value of Blue);





Thanks Stackoverflow