PDA

View Full Version : Crystal Report



lehung_ngo
26-10-2005, 20:37
Tui muốn truyền một mảng giá trị từ code vào trong Crystal Report( ko liên quan gì đến Database ở đây cả). Code:

CrystalReport1 cr = new CrystalReport1();
string[] ar1 = {"HUNG","DUNG"};
string[] ar2 = {"1","2"};
cr.SetParameterValue("col1",ar1);
cr.SetParameterValue("col2",ar2);

this.crystalReportViewer1.ReportSource = cr;
crystalReportViewer1.Show();
//Chay OK nhung Kết quả ko ra 2 dòng mà chỉ ra 1 dòng
??????????????

Tui phải làm sao ??????