A 
		
								
				
				
			
		aqualung
DataTable dt;
ArrayList al = new ArrayList(ds.Tables[0].Rows.Count);
dt = ds.Tables[0];
Int32 i;
for (i = 0; i <= dt.Rows.Count - 1; i++)
{
al.Add(dt.Rows[0]);
}
string[] s;
s = al.ToString();
c.Items = s;
The above code produces an error on the next to last line that says it
can't convert from string to string[]. In VB it works fine without
doing any type of conversion. Any ideas how to work this out?
Thanks much.....
				
			ArrayList al = new ArrayList(ds.Tables[0].Rows.Count);
dt = ds.Tables[0];
Int32 i;
for (i = 0; i <= dt.Rows.Count - 1; i++)
{
al.Add(dt.Rows[0]);
}
string[] s;
s = al.ToString();
c.Items = s;
The above code produces an error on the next to last line that says it
can't convert from string to string[]. In VB it works fine without
doing any type of conversion. Any ideas how to work this out?
Thanks much.....
