How to make grid view colorful in c#

April 28, 2013

How to make grid view colorful in c#




How to make data grid view color full waqeeh


dataGridView1.EnableHeadersVisualStyles = false;
            dataGridView1.ColumnHeadersDefaultCellStyle.BackColor = Color.Beige;
           
            dataGridView1.RowHeadersDefaultCellStyle.BackColor = Color.Beige;
            for (int i = 0; i < dataGridView1.Rows.Count; i++)
            {
                if (i % 2 != 0)
                {
                    dataGridView1.Rows[i].DefaultCellStyle.BackColor = Color.Beige;
                }
            }



How to make data grid view color ful waqeeh


You Might Also Like

0 comments

Popular Posts

Like us on Facebook

Flickr Images