public DataTable GetSmslogs(string list_code, string area_code, string user, string from, string end) { int listid = int.Parse(list_code); int area_id = int.Parse(area_code); DateTime from_date = ReturnDate(from, 1); DateTime end_date = ReturnDate(end, 2); data_table = data_file.GetSmslogs(listid, area_id, user, from_date, end_date); return(data_table); }