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();
Loading
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();
Join the conversation! Your thoughts help the community grow.