Hi,
I'm having problem when trying to read from ArrayList.Here is my code
ArrayList arrList;
public ARMakbuz( ArrayList Alist)
{
arrList =new ArrayList( Alist);
}
private void ARMakbuz_ReportStart(object sender, EventArgs e)
{
foreach (ArrayList item in arrList) //Here I get exception
{
Fields["KOD"].Value = item[0];
Fields["DESC"].Value = item[7];
Fields["QTY"].Value = Convert.ToInt32(item[1]);
Fields["PRICE"].Value = Convert.ToDouble(item[3]);
}
I get " System.String[] type object could not be assigned to System.Collection.ArrayList" exception. I appreciate any help.
Thanks,
snky