public string GetLogList(string startDate, string endDate, int rows, int page) { DataTable dt = loginlogbll.GetLogList(Convert.ToInt32(SessionInfo.UserID), startDate, endDate, rows, page); int pageCount = Convert.ToInt32(dt.DataSet.Tables["Page_TotalCount"].Rows[0][0].ToString()); return(JsonConvert.SerializeObject(new { rows = dt, total = pageCount })); }