This blog shows on how to bind an array list to a gridview control
You can make use of the below code to bind an array to the grid view control using c# int[] arrayobj = { 1, 2, 3, 4, 5, 6, 7, 8 }; GridView1.DataSource = arrayobj; GridView1.DataBind();