What data are you trying to pass? There is a lot of data stored in a DataSet. If you want the data in a particular columns (presumambly), then you can cycle through the dataset and populate an ArrayList like this:
ArrayList results = new ArrayList();
foreach(DataRow dr in ds.Tables.Rows)
results.Add( dr[columnname] );
object aObjects = results.ToArray();
Hope this helps,
Get A Computer Job!