CodeSolutionsbyGovind

Saturday, 12 March 2016

How to Change DataGrideView Header Color in C#

dataGridView1.ColumnHeadersDefaultCellStyle.BackColor = ColorTranslator.FromHtml("#D7E2E4");
            dataGridView1.EnableHeadersVisualStyles = false;
Posted by Unknown at 02:57
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Unknown
View my complete profile

Blog Archive

  • ▼  2016 (40)
    • ►  August (1)
    • ▼  March (22)
      • Serialization and Deserialization
      • Diffenrence between class and structure
      • Advantages of external JavaScript over inline Java...
      • How to create a folder on page load ?
      • What is Dense Rank Function in SQL Server ?
      • How to delete duplicate data from table
      • Clear multiple text boxes with a button in
      • Get Cell Value On DataGridView Cell Leave Event
      • How to Change DatagridView Header Color
      • How to Set Text on Image MouseHover in C#
      • How to Change DataGrideView Header Color in C#
      • send value from one form to another
      • programatically generate a click on a DataGridView...
      • change the datagridview selected row background color
      • Disable default cell selection in datagridView
      • select a complete dataGridView Row when the user c...
      • Notification in C#
      • How to check Testbox is empty or not
      • Change Date Formate
      • Fill Combobox From DataBase in C#
      • Fill Combobox From DatBase In c#
      • Count dataGridView Row Count
    • ►  February (17)
Simple theme. Powered by Blogger.