public DataTable GetDataTableForDisplay() { DataTable table = new DataTable(); Arch arch = new Arch(); string[] columnName = { "Sl", "expby", "HasPaid", "PayGet", "Amount" }; string[,] reportData = GetReportArray(); if (reportData != null) { table = arch.GetDataTableFrom2DArray(columnName, reportData); } return(table); }