First of all i want to say that i really started to hate this reporting tool. :redeye: :redeye: :redeye:
i have a simple ArrayList collection
that its member's are of type item_data
which looks like that Code at past bin
the list is then initialized
Code: Select all
ArrayList items_list = new ArrayList();
items_list.Add(new item_data(0, "LCD Monitor", 50, 2, 100));
items_list.Add(new item_data(1, "ATI vega s3", 20, 2, 40));
items_list.Add(new item_data(2, "Tiger keyboard", 3, 2, 6));
Code: Select all
StiReport stiReport1 = new StiReport();
stiReport1.RegData("item_data", items_list);
stiReport1.Load(System.Windows.Forms.Application.StartupPath + "\\invoice.mrt");
stiReport1.Show();
i really hope someone tell me how to show that collection