How to put a list of rows from dataset table into an array ?
I tried with this code but it doesn't help.
ArrayList arrayList = new ArrayList();
foreach (DataRow dr in db.dataSetUsers .Tables["Functions"].Rows)
{
arrayList.Add (dr["Name"]);
}
--
Regards,
John Reeve
I tried with this code but it doesn't help.
ArrayList arrayList = new ArrayList();
foreach (DataRow dr in db.dataSetUsers .Tables["Functions"].Rows)
{
arrayList.Add (dr["Name"]);
}
--
Regards,
John Reeve
Comment