how to delete data from gridview in asp.net c# code example Example: clear gridview data in c# dataGridView1.Rows.Clear();