November 9, 2015

How to set column header text for specific column in Datagridview C#

 this.dataGridView1.Columns["your database column name"].HeaderText = " preferred name";

November 4, 2015

How to empty a datagridview ?

dataGridView1.Rows.Clear()