you can just populate your array/datalist named array1.
considering your grid view id as gridID1, PFB code for this:
To make sure you are not populating an empty array,
if(array1.Count > 0)
{
gridID1.DataSource = array1;
gridID1.DataBind();
}
This is in C#, I am not sure of VB syntax, but it shd not be very difficult.