public ActionResult QueryProjects( string projectName, string projectType, string status, DateTime?beginTime, DateTime?endTime, int pageIndex, int pageSize) { ProjectLogic logic = new ProjectLogic(); int rowCount; var data = logic.QueryProjects(projectName, projectType, status, beginTime, endTime, pageIndex, pageSize, out rowCount); return(Json(new { Result = data, RowCount = rowCount })); }