Just take any dataset and convert the dataset into matrix. And convert the matrix into array formate in vb.net