|
Put it in the DataSet first, then put it in the array
ArrayList arrlist = new ArrayList ();
for (int i = 0; i <= ds.tables ["tb1"]. Rows.Count; i ++)
{
for (int j = 0; j <= ds.tables ["tb1"]. Columns.Count; j ++)
{
arrlist.Add (ds.tables ["tb1"]. Rows [i] [j] .Tostring ());
}
} |
|